Start to move rest of python onto refactored camera API

This commit is contained in:
Julian Stirling 2026-05-27 23:27:24 +01:00
parent e3361ebec8
commit c18d43a3a5
4 changed files with 13 additions and 20 deletions

View file

@ -34,6 +34,8 @@ class OFMThing(lt.Thing):
self._data_dir = os.path.join(
os.path.normpath(str(app_data_dir)), os.path.normpath(self.name)
)
if not os.path.exists(self.data_dir):
os.makedirs(self.data_dir)
return self
def __exit__(