mirror of
https://github.com/oxen-io/lokinet.git
synced 2024-11-15 12:13:24 +00:00
fix timestamp comparison
This commit is contained in:
parent
6383ee994a
commit
7653db89f4
@ -79,7 +79,7 @@ class BinHolder:
|
|||||||
return False
|
return False
|
||||||
if os.path.exists(self._fpath):
|
if os.path.exists(self._fpath):
|
||||||
st = os.stat(self._fpath)
|
st = os.stat(self._fpath)
|
||||||
return st.st_mtime >= t.timestamp()
|
return st.st_mtime < t.timestamp()
|
||||||
return True
|
return True
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user