mirror of
https://github.com/StuffAnThings/qbit_manage.git
synced 2025-10-07 20:40:28 +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
|
# Category & Path Parameters
|
||||||
cat:
|
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"
|
movies: "/data/torrents/Movies"
|
||||||
tv: "TV"
|
tv: "/data/torrents/TV"
|
||||||
|
|
||||||
# Tag Parameters
|
# Tag Parameters
|
||||||
tracker:
|
tracker:
|
||||||
|
@ -174,6 +174,6 @@ webhooks:
|
||||||
tag_nohardlinks: notifiarr
|
tag_nohardlinks: notifiarr
|
||||||
empty_recyclebin: notifiarr
|
empty_recyclebin: notifiarr
|
||||||
|
|
||||||
#BHD Integration used for checking unregistered torrents
|
# BHD Integration used for checking unregistered torrents
|
||||||
bhd:
|
bhd:
|
||||||
apikey:
|
apikey:
|
|
@ -35,8 +35,7 @@ class Config:
|
||||||
new_config, _, _ = yaml.util.load_yaml_guess_indent(open(self.config_path, encoding="utf-8"))
|
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 "settings" not in new_config: new_config["settings"] = {}
|
||||||
if "cat" not in new_config: new_config["cat"] = {}
|
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 "qbt" in new_config: new_config["qbt"] = new_config.pop("qbt")
|
||||||
if "settings" in new_config: new_config["settings"] = new_config.pop("settings")
|
if "settings" in new_config: new_config["settings"] = new_config.pop("settings")
|
||||||
if "directory" in new_config: new_config["directory"] = new_config.pop("directory")
|
if "directory" in new_config: new_config["directory"] = new_config.pop("directory")
|
||||||
|
|
Loading…
Add table
Reference in a new issue