Skip to content

Commit

Permalink
remote.py: Fix a debugging line.
Browse files Browse the repository at this point in the history
Status value should logged as an enum name, not a number.
  • Loading branch information
mtwebster committed Feb 8, 2024
1 parent f0cbc3b commit 3eb3ff9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/remote.py
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ def set_status_cb(self, status):
self.status = status
self.cancel_ops_if_offline()

logging.debug("Remote: %s is now %s ****" % (self.hostname, self.status))
logging.debug("Remote: %s is now %s ****" % (self.hostname, RemoteStatus(self.status).name))
self.emit("remote-status-changed")

return GLib.SOURCE_REMOVE
Expand Down

0 comments on commit 3eb3ff9

Please sign in to comment.