From bc826db4de927ba611895cf4c0ebbbdaaca4b941 Mon Sep 17 00:00:00 2001 From: KevinMidboe Date: Sat, 18 Nov 2017 23:33:20 +0100 Subject: [PATCH] Reads from the changed config file name and removed some variable declaration that is no longer in use. --- torrentSearch/search.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/torrentSearch/search.py b/torrentSearch/search.py index 8b93fa9..2562301 100755 --- a/torrentSearch/search.py +++ b/torrentSearch/search.py @@ -9,14 +9,11 @@ BASE_DIR = os.path.dirname(os.path.abspath(__file__)) def getConfig(): config = configparser.ConfigParser() - config_dir = os.path.join(BASE_DIR, 'config.example.ini') + config_dir = os.path.join(BASE_DIR, 'config.ini') config.read(config_dir) - jackett_host = config['JACKETT']['HOST'] - jackett_use_ssl = config['JACKETT']['SSL'] return config - # This should be done front_end! # I.E. filtering like this should be done in another script # and should be done with the shared standard for types.