mirror of
https://gitlab.com/crafty-controller/crafty-4.git
synced 2024-08-30 18:23:09 +00:00
Make sure default.json is read from correct loc
This commit is contained in:
parent
8e199dcd67
commit
879aa8c54c
@ -1112,7 +1112,7 @@ class Helpers:
|
||||
return os.path.normpath(path)
|
||||
|
||||
def find_default_password(self):
|
||||
default_file = os.path.join(self.root_dir, "default.json")
|
||||
default_file = os.path.join(self.root_dir, "app", "config", "default.json")
|
||||
data = {}
|
||||
|
||||
if Helpers.check_file_exists(default_file):
|
||||
|
Loading…
Reference in New Issue
Block a user