From 4aac5c9584287c99f1cb52916561de33841aa269 Mon Sep 17 00:00:00 2001 From: Jakob Ketterl Date: Wed, 25 Mar 2020 15:47:15 +0100 Subject: [PATCH] use the interface --- owrx/config.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/owrx/config.py b/owrx/config.py index a87d066..45311eb 100644 --- a/owrx/config.py +++ b/owrx/config.py @@ -1,4 +1,4 @@ -from owrx.property import PropertyLayer +from owrx.property import PropertyManager import importlib.util import os import logging @@ -55,7 +55,7 @@ class Config: return [e for e in errors if e is not None] @staticmethod - def checkTempDirectory(pm: PropertyLayer): + def checkTempDirectory(pm: PropertyManager): key = "temporary_directory" if key not in pm or pm[key] is None: return ConfigError(key, "temporary directory is not set")