mirror of
https://github.com/meisnate12/Plex-Meta-Manager
synced 2024-11-22 04:23:08 +00:00
fix a syntax error
This commit is contained in:
parent
e978024b26
commit
7e43dc1d74
1 changed files with 2 additions and 1 deletions
|
@ -455,7 +455,8 @@ class DataFile:
|
|||
sort_name = f"{variables[name_var][len(op):].strip()}, {op}"
|
||||
if not sort_mapping and variables["mapping_name"].startswith(f"{op} "):
|
||||
sort_mapping = f"{variables['mapping_name'][len(op):].strip()}, {op}"
|
||||
break if sort_name and sort_mapping
|
||||
if sort_name and sort_mapping:
|
||||
break
|
||||
else:
|
||||
raise Failed(f"{self.data_type} Error: template sub-attribute move_prefix is blank")
|
||||
variables[f"{self.data_type.lower()}_sort"] = sort_name if sort_name else variables[name_var]
|
||||
|
|
Loading…
Reference in a new issue