This commit is contained in:
j 2023-11-24 13:19:28 +00:00
parent ddb70beedd
commit e2cd0861a3

View file

@ -15,7 +15,7 @@ def get_propery(element, name):
def melt_xml(file): def melt_xml(file):
out = None out = None
real_path = os.path.realpath(path) real_path = os.path.realpath(path)
if file in _CACHE and isinstance(_CACHE[file], list) if file in _CACHE and isinstance(_CACHE[file], list):
ts, out = _CACHE[file] ts, out = _CACHE[file]
if os.stat(real_path).st_mtime != ts: if os.stat(real_path).st_mtime != ts:
out = None out = None