We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 50aeba5 commit d73bb95Copy full SHA for d73bb95
mycodo/mycodo_flask/utils/utils_settings.py
@@ -724,7 +724,7 @@ def settings_function_update(form):
724
# Restart the backend if any Controller using this module is currently activated
725
controller_activated = CustomController.query.filter(
726
CustomController.device == controller_device_name,
727
- CustomController.is_activated == True).count()
+ CustomController.is_activated.is_(True)).count()
728
if controller_activated:
729
cmd = '{path}/mycodo/scripts/mycodo_wrapper daemon_restart 2>&1'.format(
730
path=install_dir)
0 commit comments