From dae32f2e95ae3cbf6a77ec6e18fa932a6e043e84 Mon Sep 17 00:00:00 2001 From: Jakob Ketterl Date: Sat, 17 Apr 2021 23:56:32 +0200 Subject: [PATCH] return an empty layer if no config is available --- owrx/config/classic.py | 1 + 1 file changed, 1 insertion(+) diff --git a/owrx/config/classic.py b/owrx/config/classic.py index cbad127..a91d57b 100644 --- a/owrx/config/classic.py +++ b/owrx/config/classic.py @@ -16,6 +16,7 @@ class ClassicConfig(PropertyReadOnly): return ClassicConfig._loadPythonFile(file) except FileNotFoundError: pass + return PropertyLayer() @staticmethod def _toLayer(dictionary: dict):