mirror of
https://github.com/meisnate12/Plex-Meta-Manager
synced 2025-02-16 13:58:25 +00:00
fix KeyError
This commit is contained in:
parent
339a344a10
commit
99b7bc55aa
1 changed files with 2 additions and 1 deletions
|
@ -45,7 +45,8 @@ class Config:
|
|||
new_config["tmdb"] = {}
|
||||
replace_attr(new_config, "cache", "cache")
|
||||
replace_attr(new_config, "cache_expiration", "cache")
|
||||
del new_config["cache"]
|
||||
if "config" in new_config:
|
||||
del new_config["cache"]
|
||||
replace_attr(new_config, "asset_directory", "plex")
|
||||
replace_attr(new_config, "sync_mode", "plex")
|
||||
replace_attr(new_config, "show_unmanaged", "plex")
|
||||
|
|
Loading…
Add table
Reference in a new issue