This commit is contained in:
恍兮惚兮 2024-12-31 11:43:54 +08:00
parent 8ee48277c2
commit a38a1be7d2

View File

@ -1704,7 +1704,7 @@ import hashlib
class IndexBuilder(object): class IndexBuilder(object):
# todo: enable history # todo: enable history
def checkinfo(self, fn): def checkinfo(self, fn):
return "{}{}".format(os.path.getmtime(fn), os.path.getsize(fn)) return "{}_{}".format(os.path.getmtime(fn), os.path.getsize(fn))
def checkneedupdate(self, md, db): def checkneedupdate(self, md, db):
if not os.path.isfile(db): if not os.path.isfile(db):