|
|
|
@ -488,6 +488,7 @@ class DataFile:
|
|
|
|
|
return og_txt
|
|
|
|
|
if _debug:
|
|
|
|
|
logger.trace(f"Start {_method}: {_data}")
|
|
|
|
|
try:
|
|
|
|
|
for i_check in range(8):
|
|
|
|
|
for option in optional:
|
|
|
|
|
if option not in variables and option not in translation_variables and f"<<{option}>>" in str(_data):
|
|
|
|
@ -503,6 +504,10 @@ class DataFile:
|
|
|
|
|
_data = scan_text(_data, variable, variable_data)
|
|
|
|
|
for dm, dd in default.items():
|
|
|
|
|
_data = scan_text(_data, dm, dd)
|
|
|
|
|
except Failed:
|
|
|
|
|
if _debug:
|
|
|
|
|
logger.trace(f"Failed {_method}: {_data}")
|
|
|
|
|
raise
|
|
|
|
|
if _debug:
|
|
|
|
|
logger.trace(f"End {_method}: {_data}")
|
|
|
|
|
return _data
|
|
|
|
|