mirror of
https://github.com/ihaveamac/custom-install.git
synced 2025-12-06 06:41:45 +00:00
gui-custominstall: add unused end argument to log_handle
This commit is contained in:
@@ -79,7 +79,7 @@ class CustomInstallGui(tk.Frame):
|
||||
# self.debug_values()
|
||||
|
||||
def start_install():
|
||||
def log_handle(message): self.add_log_msg(message)
|
||||
def log_handle(message, end=None): self.add_log_msg(message)
|
||||
def percentage_handle(percent, total_read, size): self.progress['value'] = percent
|
||||
|
||||
installer.event.on_log_msg += log_handle
|
||||
@@ -196,4 +196,4 @@ root = tk.Tk()
|
||||
app = CustomInstallGui(root)
|
||||
app.start()
|
||||
|
||||
root.mainloop()
|
||||
root.mainloop()
|
||||
|
||||
Reference in New Issue
Block a user