mirror of
https://github.com/HIllya51/LunaTranslator.git
synced 2025-01-13 07:33:53 +08:00
.
This commit is contained in:
parent
8ee48277c2
commit
a38a1be7d2
@ -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):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user