From b9960c46a3517c5c48094f02eca329a8132cd3c7 Mon Sep 17 00:00:00 2001 From: Kristian Krsnik Date: Wed, 2 Aug 2023 20:48:06 +0200 Subject: [PATCH] added type annotation --- dyn_gandi/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dyn_gandi/main.py b/dyn_gandi/main.py index 3c34dc8..c86e22a 100644 --- a/dyn_gandi/main.py +++ b/dyn_gandi/main.py @@ -1,7 +1,7 @@ import requests, json, re, os from datetime import datetime -def loadSettings(path = f"{os.path.expanduser('~')}/.config/dyn-gandi/config.json") -> dict: +def loadSettings(path: str = f"{os.path.expanduser('~')}/.config/dyn-gandi/config.json") -> dict: # TODO: check integrity try: with open(path, 'r') as file: