From f5ee9ba4eae75797e252c05fb6cbd4bc426da206 Mon Sep 17 00:00:00 2001 From: su530201 <olivier.kaufmann@umons.ac.be> Date: Sun, 30 Apr 2023 22:39:57 +0200 Subject: [PATCH] Fixes deprecation --- ohmpi.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ohmpi.py b/ohmpi.py index 3ef668a4..ecb06da7 100644 --- a/ohmpi.py +++ b/ohmpi.py @@ -1240,10 +1240,10 @@ else: current_time = datetime.now() print(f'local date and time : {current_time.strftime("%Y-%m-%d %H:%M:%S")}') +OhmPi.get_deprecated_methods() # for testing if __name__ == "__main__": - OhmPi.get_deprecated_methods() ohmpi = OhmPi(settings=OHMPI_CONFIG['settings']) if ohmpi.controller is not None: ohmpi.controller.loop_forever() -- GitLab