mirror of
https://github.com/meisnate12/Plex-Meta-Manager
synced 2025-02-17 22:38:25 +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
|
return actual_value
|
||||||
elif f"<<{var}" in str(og_txt):
|
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)
|
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)
|
match = re.search(f"<<({var}([+-])(\\d+))>>", final)
|
||||||
if match:
|
if match:
|
||||||
try:
|
try:
|
||||||
|
|
Loading…
Add table
Reference in a new issue