Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
clavay committed May 3, 2023
1 parent 7d2b132 commit 6d0b47e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyscada/utils/scheduler.py
Original file line number Diff line number Diff line change
Expand Up @@ -1169,7 +1169,7 @@ def init_process(self):
"""
self.device = Device.objects.filter(protocol__daq_daemon=1, id=self.device_id).first()
if not self.device:
logger.error("Cannot initialized process for %s. Device not found." % self.device_id)
logger.error(f"Cannot initialize process for {self.device_id}. Device not found.")
self.device = None
return False
if not self.device.active:
Expand Down

0 comments on commit 6d0b47e

Please sign in to comment.