diff --git a/logging_setup.py b/logging_setup.py index 724b85ab99eb09d4371a1332e9975f35c58d5f04..f3a5d860ef5933f6bd7233ca12beecdbd4490a43 100644 --- a/logging_setup.py +++ b/logging_setup.py @@ -59,7 +59,7 @@ def setup_loggers(mqtt=True): mqtt_settings = MQTT_LOGGING_CONFIG.copy() mqtt_soh_logging_level = mqtt_settings.pop('soh_logging_level', logging.DEBUG) [mqtt_settings.pop(i, None) for i in ['client_id', 'exec_topic', 'data_topic', 'soh_topic', 'data_logging_level', - 'soh_logging_level']] + 'exec_logging_level']] mqtt_settings.update({'topic': MQTT_LOGGING_CONFIG['soh_topic']}) # TODO: handle the case of MQTT broker down or temporarily unavailable try: diff --git a/ohmpi.py b/ohmpi.py index aa8887e2f70eab7d308abb2baaf5d9c568be80ee..388619884788e30c000f8a695e7d43bb334c1ee0 100644 --- a/ohmpi.py +++ b/ohmpi.py @@ -1231,7 +1231,7 @@ print('Version:', VERSION) platform, on_pi = get_platform() if on_pi: - print(colored(f'\u2611 Running on {platform} platform', 'green')) + print(colored(f'\u2611 Running on {platform}', 'green')) # TODO: check model for compatible platforms (exclude Raspberry Pi versions that are not supported...) # and emit a warning otherwise if not arm64_imports: