From e5f39480cc0fb0ae74e2e1baba246649f46722bf Mon Sep 17 00:00:00 2001 From: Michaƫl Ball Date: Tue, 21 Dec 2021 22:52:19 +0000 Subject: Fix config issue --- main.py | 1 - 1 file changed, 1 deletion(-) 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") -- cgit v1.2.3