fix realpath

This commit is contained in:
j 2023-11-24 15:29:42 +00:00
parent e2cd0861a3
commit f24bb26ed1
1 changed files with 1 additions and 1 deletions

View File

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