mirror of
https://github.com/PiBrewing/craftbeerpi4.git
synced 2024-11-09 17:07:43 +01:00
check_for_setup() now checks for provided logs folder path
This commit is contained in:
parent
706bbac9f0
commit
ac9b599619
1 changed files with 0 additions and 2 deletions
|
@ -97,7 +97,6 @@ class ConfigFolder:
|
|||
['dashboard/widgets', 'folder'],
|
||||
['dashboard', 'folder'],
|
||||
['fermenterrecipes', 'folder'],
|
||||
['../logs', 'folder'],
|
||||
['recipes', 'folder'],
|
||||
['upload', 'folder']
|
||||
]
|
||||
|
@ -174,7 +173,6 @@ class ConfigFolder:
|
|||
def create_folders(self):
|
||||
pathlib.Path(self.configFolderPath).mkdir(parents=True, exist_ok=True)
|
||||
pathlib.Path(os.path.join(self.configFolderPath, 'dashboard', 'widgets')).mkdir(parents=True, exist_ok=True)
|
||||
#pathlib.Path(os.path.join(self.configFolderPath, '..','logs')).mkdir(parents=True, exist_ok=True)
|
||||
pathlib.Path(os.path.join(self.configFolderPath, 'recipes')).mkdir(parents=True, exist_ok=True)
|
||||
pathlib.Path(os.path.join(self.configFolderPath, 'fermenterrecipes')).mkdir(parents=True, exist_ok=True)
|
||||
pathlib.Path(os.path.join(self.configFolderPath, 'upload')).mkdir(parents=True, exist_ok=True)
|
||||
|
|
Loading…
Reference in a new issue