summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichaël Ball <git@michaelball.name>2021-12-21 22:52:19 +0000
committerMichaël Ball <git@michaelball.name>2021-12-21 22:52:19 +0000
commite5f39480cc0fb0ae74e2e1baba246649f46722bf (patch)
tree2a9460fdb1118e573b63164aa4e783baf5f3f682
parenta8699199713c51df196e6e2d0e803d983767664f (diff)
Fix config issue
-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")