fix realpath
This commit is contained in:
parent
e2cd0861a3
commit
f24bb26ed1
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue