mirror of
https://github.com/meisnate12/Plex-Meta-Manager
synced 2024-11-10 06:54:21 +00:00
fix tmdb_collections
This commit is contained in:
parent
2b4b557012
commit
3bf3e8a918
1 changed files with 1 additions and 1 deletions
|
@ -570,7 +570,7 @@ def library_operations(config, library):
|
|||
template[k] = v[int(_i)]
|
||||
for suffix in library.tmdb_collections["remove_suffix"]:
|
||||
if _n.endswith(suffix):
|
||||
_n = _n[:-len(_n)]
|
||||
_n = _n[:-len(suffix)]
|
||||
new_collections[_n.strip()] = {"template": template}
|
||||
metadata = MetadataFile(config, library, "Data", {
|
||||
"collections": new_collections,
|
||||
|
|
Loading…
Reference in a new issue