From ad1fb040c4ad0259104f31a0c480cc92232422b0 Mon Sep 17 00:00:00 2001 From: Mark Veidemanis Date: Fri, 24 Dec 2021 17:25:36 +0000 Subject: [PATCH] Simplify settings handling --- handler/settings.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/handler/settings.py b/handler/settings.py index 3a1ad52..cf77e86 100644 --- a/handler/settings.py +++ b/handler/settings.py @@ -1,7 +1,4 @@ # Other library imports from ConfigObject import ConfigObject -revolut_token = "" - -settings = ConfigObject() -settings.read("settings.ini") +settings = ConfigObject(filename="settings.ini")