non existing file means it's new

This commit is contained in:
Jeff Becker 2019-01-23 13:21:28 -05:00
parent 082eceb601
commit 0f0f88791a
No known key found for this signature in database
GPG Key ID: F357B3B42F6F9B05

View File

@ -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):