return an empty layer if no config is available
This commit is contained in:
parent
b4c2923dd2
commit
dae32f2e95
@ -16,6 +16,7 @@ class ClassicConfig(PropertyReadOnly):
|
|||||||
return ClassicConfig._loadPythonFile(file)
|
return ClassicConfig._loadPythonFile(file)
|
||||||
except FileNotFoundError:
|
except FileNotFoundError:
|
||||||
pass
|
pass
|
||||||
|
return PropertyLayer()
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def _toLayer(dictionary: dict):
|
def _toLayer(dictionary: dict):
|
||||||
|
Loading…
Reference in New Issue
Block a user