From b14eb0551f9a2203e24c77e0c22b79c87e1b03ae Mon Sep 17 00:00:00 2001 From: LukasK13 Date: Tue, 9 Jun 2020 15:31:43 +0200 Subject: [PATCH] Code cleanup --- esbo_etc/classes/Config.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/esbo_etc/classes/Config.py b/esbo_etc/classes/Config.py index 4bd9b61..237eb8f 100644 --- a/esbo_etc/classes/Config.py +++ b/esbo_etc/classes/Config.py @@ -177,9 +177,8 @@ class Configuration(object): "Configuration check: common -> snr: Length of exposure time (%d) not matching the length of " "the SNR (%d)" % (len(self.conf.common.exposure_time.val), len(self.conf.common.snr.val))) if not (hasattr(self.conf.common, "exposure_time") or hasattr(self.conf.common, "snr")): - logger.error( - "Configuration check: common: Expected at least one of the containers 'exposure_time' or 'snr' but" + - "got none.") + logger.error("Configuration check: common: Expected at least one of the containers 'exposure_time' or " + + "'snr' but got none.") # Check astroscene if not hasattr(self.conf, "astroscene"):