Updated to new LabThings structure

This commit is contained in:
Joel Collins 2020-09-04 15:48:52 +01:00
parent 304e620143
commit 5139b24ffe
14 changed files with 99 additions and 274 deletions

View file

@ -47,7 +47,8 @@ class ZipObjectDescription:
def close(self):
logging.debug(self.fp.name)
self.fp.close()
os.unlink(self.fp.name)
if os.path.exists(self.fp.name):
os.unlink(self.fp.name)
assert not os.path.exists(self.fp.name)