exec
dece 3 years ago
parent fb8d078060
commit af349f5ac2

@ -261,7 +261,7 @@ class Browser:
try:
self.handle_mouse(*curses.getmouse())
except curses.error:
logging.error(f"Failed to get mouse information.")
logging.error("Failed to get mouse information.")
elif char == curses.KEY_RESIZE:
self.handle_resize()
elif char == curses.ascii.ESC: # Can be ESC or ALT char.

@ -163,7 +163,7 @@ class Request:
except FileNotFoundError as exc:
sock.close()
self.state = Request.STATE_CONNECTION_FAILED
self.error = "Could not load identity files ({exc})"
self.error = f"Could not load identity files ({exc})"
logging.error(f"Failed to load identity files {self.identity}")
return False

Loading…
Cancel
Save