mirror of
https://github.com/Ircama/epson_print_conf.git
synced 2024-10-18 01:00:36 -04:00
Fix missing newline in warning message
This commit is contained in:
parent
350ca81474
commit
e15d9b3126
1 changed files with 2 additions and 6 deletions
8
ui.py
8
ui.py
|
@ -622,11 +622,11 @@ class EpsonPrinterUI(tk.Tk):
|
|||
self.show_status_text_view()
|
||||
if isinstance(e, TimeoutError):
|
||||
self.status_text.insert(
|
||||
tk.END, f"[ERROR] printer is unreachable or offline."
|
||||
tk.END, f"[ERROR] printer is unreachable or offline.\n"
|
||||
)
|
||||
else:
|
||||
self.status_text.insert(
|
||||
tk.END, f"[ERROR] {e}\n{traceback.format_exc()}"
|
||||
tk.END, f"[ERROR] {e}\n{traceback.format_exc()}\n"
|
||||
)
|
||||
|
||||
def get_po_mins(self, cursor=True):
|
||||
|
@ -660,10 +660,6 @@ class EpsonPrinterUI(tk.Tk):
|
|||
tk.END, f"[INFO] Power off timer: {po_timer} minutes.\n"
|
||||
)
|
||||
self.po_timer_var.set(po_timer)
|
||||
except TimeoutError:
|
||||
self.status_text.insert(
|
||||
tk.END, f"[ERROR] printer is unreachable or offline"
|
||||
)
|
||||
except Exception as e:
|
||||
self.handle_printer_error(e)
|
||||
finally:
|
||||
|
|
Loading…
Reference in a new issue