Update Docker container to fix issues and pull latest code at runtime

This commit is contained in:
Ircama
2025-06-07 13:52:38 +02:00
parent 21c8792714
commit 1e0a634ed7
5 changed files with 76 additions and 40 deletions

13
ui.py
View File

@@ -269,11 +269,18 @@ class EpsonPrinterUI(tk.Tk):
hostname: str = None,
conf_dict = {},
replace_conf=False
):
super().__init__()
):
try:
super().__init__()
except Exception as e:
logging.critical("Cannot start program: %s", e)
quit()
self.title("Epson Printer Configuration - v" + VERSION)
self.geometry("500x500")
self.minsize(550, 600)
if self.call('tk', 'windowingsystem') == "x11":
self.minsize(600, 600)
else:
self.minsize(550, 600)
self.printer_scanner = PrinterScanner()
self.ip_list = []
self.ip_list_cycle = None