fix roots modification time check

This commit is contained in:
Yann Jouanin 2018-05-18 17:58:01 +02:00 committed by rallytime
parent 43930f8bac
commit 9bc35b88ea
No known key found for this signature in database
GPG key ID: E8F1A4B90D0DEA19

View file

@ -253,7 +253,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