Dashboard: fix createion of dir for attachments
This commit is contained in:
parent
50920059b6
commit
81d6d5ad83
1 changed files with 1 additions and 1 deletions
|
@ -169,7 +169,7 @@ class DashboardPage(DashboardPageCommon, DashboardPageMetaData, table=True):
|
||||||
Make sure the directory exists, before saving the file
|
Make sure the directory exists, before saving the file
|
||||||
"""
|
"""
|
||||||
dir_name = Path(conf.dashboard.base_storage_dir) / self.group
|
dir_name = Path(conf.dashboard.base_storage_dir) / self.group
|
||||||
dir_name.mkdir(exist_ok=True)
|
dir_name.mkdir(parents=True, exist_ok=True)
|
||||||
return dir_name
|
return dir_name
|
||||||
|
|
||||||
def get_attachment_file_name(self):
|
def get_attachment_file_name(self):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue