tweaks to the main file
This commit is contained in:
parent
dc8ad10e73
commit
31c953d698
@ -14,6 +14,8 @@ class Qbt:
|
|||||||
# Open the config. Needs a json file with the data in config.json.example
|
# Open the config. Needs a json file with the data in config.json.example
|
||||||
c = open('./config.json')
|
c = open('./config.json')
|
||||||
self.config = load(c)
|
self.config = load(c)
|
||||||
|
w = open('./config.json')
|
||||||
|
self.cat_whitelist = load(w)
|
||||||
# Create the api object
|
# Create the api object
|
||||||
self.qbt_client = qbittorrentapi.Client(
|
self.qbt_client = qbittorrentapi.Client(
|
||||||
host=self.config["host"],
|
host=self.config["host"],
|
||||||
@ -69,7 +71,7 @@ class Qbt:
|
|||||||
printprocessor(self)
|
printprocessor(self)
|
||||||
if self.use_pushover:
|
if self.use_pushover:
|
||||||
tornotifysummary(self)
|
tornotifysummary(self)
|
||||||
#tordelete(self)
|
tordelete(self)
|
||||||
|
|
||||||
# Run
|
# Run
|
||||||
if __name__== "__main__":
|
if __name__== "__main__":
|
||||||
|
Loading…
x
Reference in New Issue
Block a user