Commit f5ee9ba4 authored by Olivier Kaufmann's avatar Olivier Kaufmann
Browse files

Fixes deprecation

Showing with 1 addition and 1 deletion
+1 -1
...@@ -1240,10 +1240,10 @@ else: ...@@ -1240,10 +1240,10 @@ else:
current_time = datetime.now() current_time = datetime.now()
print(f'local date and time : {current_time.strftime("%Y-%m-%d %H:%M:%S")}') print(f'local date and time : {current_time.strftime("%Y-%m-%d %H:%M:%S")}')
OhmPi.get_deprecated_methods()
# for testing # for testing
if __name__ == "__main__": if __name__ == "__main__":
OhmPi.get_deprecated_methods()
ohmpi = OhmPi(settings=OHMPI_CONFIG['settings']) ohmpi = OhmPi(settings=OHMPI_CONFIG['settings'])
if ohmpi.controller is not None: if ohmpi.controller is not None:
ohmpi.controller.loop_forever() ohmpi.controller.loop_forever()
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment