summaryrefslogtreecommitdiff
path: root/main.py
diff options
context:
space:
mode:
Diffstat (limited to 'main.py')
-rw-r--r--main.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/main.py b/main.py
index c7bdd43..c2fb087 100644
--- a/main.py
+++ b/main.py
@@ -16,7 +16,6 @@ def get_location(args):
try:
with open(config_location) as stream:
config.read_string("[auto-dark-mode]\n" + stream.read())
- config.read(config_location)
latitude = config.getfloat("auto-dark-mode", "latitude")
longitude = config.getfloat("auto-dark-mode", "longitude")