mirror of
https://github.com/ihaveamac/custom-install.git
synced 2026-01-26 15:45:59 +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()
|
# self.debug_values()
|
||||||
|
|
||||||
def start_install():
|
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
|
def percentage_handle(percent, total_read, size): self.progress['value'] = percent
|
||||||
|
|
||||||
installer.event.on_log_msg += log_handle
|
installer.event.on_log_msg += log_handle
|
||||||
@@ -196,4 +196,4 @@ root = tk.Tk()
|
|||||||
app = CustomInstallGui(root)
|
app = CustomInstallGui(root)
|
||||||
app.start()
|
app.start()
|
||||||
|
|
||||||
root.mainloop()
|
root.mainloop()
|
||||||
|
|||||||
Reference in New Issue
Block a user