mirror of
https://github.com/PiBrewing/craftbeerpi4.git
synced 2024-11-25 08:28:23 +01:00
not copying empty cbpi_dashboard_1.json anymore.
will be created on first dashboard save instead.
This commit is contained in:
parent
2a0daf354c
commit
7f16a8b9b5
1 changed files with 0 additions and 5 deletions
|
@ -170,11 +170,6 @@ class ConfigFolder:
|
||||||
self.copyDefaultFileIfNotExists("craftbeerpi.service")
|
self.copyDefaultFileIfNotExists("craftbeerpi.service")
|
||||||
self.copyDefaultFileIfNotExists("chromium.desktop")
|
self.copyDefaultFileIfNotExists("chromium.desktop")
|
||||||
|
|
||||||
if os.path.exists(os.path.join(self.configFolderPath, "dashboard", "cbpi_dashboard_1.json")) is False:
|
|
||||||
srcfile = os.path.join(os.path.dirname(__file__), "config", "dashboard", "cbpi_dashboard_1.json")
|
|
||||||
destfile = os.path.join(self.configFolderPath, "dashboard")
|
|
||||||
shutil.copy(srcfile, destfile)
|
|
||||||
|
|
||||||
print("Config Folder created")
|
print("Config Folder created")
|
||||||
|
|
||||||
def create_home_folder_structure(configFolder):
|
def create_home_folder_structure(configFolder):
|
||||||
|
|
Loading…
Reference in a new issue