aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Config.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/Config.py b/src/Config.py
index 6d80b1ca..70b02478 100644
--- a/src/Config.py
+++ b/src/Config.py
@@ -1,12 +1,13 @@
import collections, configparser, os, typing
class Config(object):
+
def __init__(self, location: str):
self.location = location
- self._config = collections.OrderedDict()
+ self._config: typing.Dict[str, str] = collections.OrderedDict()
def _parser(self) -> configparser.ConfigParser:
- return configparser.ConfigParser(dict_type=collections.OrderedDict)
+ return configparser.ConfigParser()
def load(self):
if os.path.isfile(self.location):