non existing file means it's new

pull/244/head
Jeff Becker 5 years ago
parent 082eceb601
commit 0f0f88791a
No known key found for this signature in database
GPG Key ID: F357B3B42F6F9B05

@ -80,7 +80,7 @@ class BinHolder:
if os.path.exists(self._fpath):
st = os.stat(self._fpath)
return st.st_mtime >= t
return False
return True
def serve(self, last_modified, respond):

Loading…
Cancel
Save