Fix data directory save location and mount path
This commit is contained in:
parent
fa5aaaf254
commit
b6efb73cba
4 changed files with 13 additions and 7 deletions
|
|
@ -31,7 +31,7 @@ class OFMThing(lt.Thing):
|
|||
raise ValueError("No application configuration was supplied.")
|
||||
app_data_dir = application_config["data_folder"]
|
||||
self._data_dir = os.path.join(
|
||||
os.path.normpath(str(app_data_dir)), os.path.normpath(self.path.strip("/"))
|
||||
os.path.normpath(str(app_data_dir)), os.path.normpath(self.name)
|
||||
)
|
||||
return self
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue