fix roots modification time check

This commit is contained in:
Yann Jouanin 2018-05-18 17:58:01 +02:00
parent 16c2153385
commit aef37dd1ce

View File

@ -255,7 +255,7 @@ def file_hash(load, fnd):
except OSError:
pass
return file_hash(load, fnd)
if os.path.getmtime(path) == mtime:
if str(os.path.getmtime(path)) == mtime:
# check if mtime changed
ret['hsum'] = hsum
return ret