Start to move rest of python onto refactored camera API
This commit is contained in:
parent
e3361ebec8
commit
c18d43a3a5
4 changed files with 13 additions and 20 deletions
|
|
@ -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__(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue