fixed reading cat file

This commit is contained in:
2022-07-23 00:42:05 -05:00
parent 27bc8e171b
commit 972e9bc517
3 changed files with 4 additions and 8 deletions

View File

@@ -14,7 +14,7 @@ class Qbt:
# Open the config. Needs a json file with the data in config.json.example
c = open('./config.json')
self.config = load(c)
w = open('./config.json')
w = open('./category-whitelist.json')
self.cat_whitelist = load(w)
# Create the api object
self.qbt_client = qbittorrentapi.Client(