aboutsummaryrefslogtreecommitdiff
path: root/labbot/config.py
diff options
context:
space:
mode:
Diffstat (limited to 'labbot/config.py')
-rw-r--r--labbot/config.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/labbot/config.py b/labbot/config.py
index 10858ea..f372008 100644
--- a/labbot/config.py
+++ b/labbot/config.py
@@ -1,6 +1,6 @@
import os
import json
-from typing import List
+from typing import List, Dict, Any
from appdirs import user_config_dir # type: ignore
CONFIG_FILE = "config.json"
@@ -35,7 +35,7 @@ def write_instance_config(name: str, data: dict) -> None:
if data != read_instance_config(name):
raise ValueError("Config could not be saved properly")
-def read_instance_config(name: str) -> dict:
+def read_instance_config(name: str) -> Dict[str, Any]:
conf_path = os.path.join(instance_config_dir(name), CONFIG_FILE)
try: