mirror of
https://github.com/meisnate12/Plex-Meta-Manager
synced 2024-11-24 21:43:07 +00:00
[14] fix weird template edge case
This commit is contained in:
parent
eb7c305099
commit
d7468c3062
2 changed files with 2 additions and 2 deletions
2
VERSION
2
VERSION
|
@ -1 +1 @@
|
|||
2.0.1-develop13
|
||||
2.0.1-develop14
|
||||
|
|
|
@ -514,7 +514,7 @@ class DataFile:
|
|||
return actual_value
|
||||
elif f"<<{var}" in str(og_txt):
|
||||
final = str(og_txt).replace(f"<<{var}>>", str(actual_value)) if f"<<{var}>>" in str(og_txt) else str(og_txt)
|
||||
if f"<<{var}" in final:
|
||||
if f"<<{var}" in final and var not in variables:
|
||||
match = re.search(f"<<({var}([+-])(\\d+))>>", final)
|
||||
if match:
|
||||
try:
|
||||
|
|
Loading…
Reference in a new issue