mirror of
https://github.com/oxen-io/lokinet.git
synced 2024-11-15 12:13:24 +00:00
non existing file means it's new
This commit is contained in:
parent
082eceb601
commit
0f0f88791a
@ -80,7 +80,7 @@ class BinHolder:
|
|||||||
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
|
return st.st_mtime >= t
|
||||||
return False
|
return True
|
||||||
|
|
||||||
|
|
||||||
def serve(self, last_modified, respond):
|
def serve(self, last_modified, respond):
|
||||||
|
Loading…
Reference in New Issue
Block a user