mirror of
https://github.com/StuffAnThings/qbit_manage.git
synced 2024-12-27 18:59:48 +08:00
migration of tags to tracker bug fix
This commit is contained in:
parent
6248514aa3
commit
d22796d398
2 changed files with 4 additions and 5 deletions
|
@ -22,9 +22,9 @@ directory:
|
|||
|
||||
# Category & Path Parameters
|
||||
cat:
|
||||
# <Category Name> : <save_path> # Path of your save directory. Can be a keyword or full path
|
||||
# <Category Name> : <save_path> # Path of your save directory.
|
||||
movies: "/data/torrents/Movies"
|
||||
tv: "TV"
|
||||
tv: "/data/torrents/TV"
|
||||
|
||||
# Tag Parameters
|
||||
tracker:
|
||||
|
@ -174,6 +174,6 @@ webhooks:
|
|||
tag_nohardlinks: notifiarr
|
||||
empty_recyclebin: notifiarr
|
||||
|
||||
#BHD Integration used for checking unregistered torrents
|
||||
# BHD Integration used for checking unregistered torrents
|
||||
bhd:
|
||||
apikey:
|
|
@ -35,8 +35,7 @@ class Config:
|
|||
new_config, _, _ = yaml.util.load_yaml_guess_indent(open(self.config_path, encoding="utf-8"))
|
||||
if "settings" not in new_config: new_config["settings"] = {}
|
||||
if "cat" not in new_config: new_config["cat"] = {}
|
||||
if "tracker" not in new_config: new_config["tracker"] = {}
|
||||
|
||||
if "tracker" not in new_config and "tags" not in new_config: new_config["tracker"] = {}
|
||||
if "qbt" in new_config: new_config["qbt"] = new_config.pop("qbt")
|
||||
if "settings" in new_config: new_config["settings"] = new_config.pop("settings")
|
||||
if "directory" in new_config: new_config["directory"] = new_config.pop("directory")
|
||||
|
|
Loading…
Reference in a new issue