From 872b134ede67109b80eed05d0302749b97fc048c Mon Sep 17 00:00:00 2001 From: LukasK13 Date: Wed, 20 May 2020 09:12:41 +0200 Subject: [PATCH] Typing improved --- esbo_etc/classes/Config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/esbo_etc/classes/Config.py b/esbo_etc/classes/Config.py index e3126d8..3f24ef5 100644 --- a/esbo_etc/classes/Config.py +++ b/esbo_etc/classes/Config.py @@ -209,7 +209,7 @@ class Configuration(object): mes is not None and error("Configuration check: instrument -> sensor -> " + mes) @staticmethod - def __check_optical_components(conf: Union[Entry, list]): + def __check_optical_components(conf: Union[Entry, list]) -> Union[None, str]: """ Check list of optical components in the parsed configuration.