Skip to content

Commit

Permalink
Fix attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
mraspaud committed Jul 14, 2022
1 parent f86a3ea commit 08bb35e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pytroll_monitor/monitor_hook.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ class OP5Monitor(object):

def __init__(self, monitor_service, monitor_server, monitor_host, monitor_auth=None):
"""Init the monitor."""
if monitor_auth:
self.monitor_auth = monitor_auth
if self.monitor_auth:
self.monitor_auth = tuple(monitor_auth)
self.monitor_service = monitor_service
self.monitor_server = monitor_server
Expand Down

0 comments on commit 08bb35e

Please sign in to comment.