Updater: Show dialog on sucsess

This commit is contained in:
Mathieu 2016-09-22 13:20:19 +02:00
parent 4d918e4e15
commit ad7b6b3213

2
Updater.py Executable file → Normal file
View File

@ -37,6 +37,8 @@ class Updater(Thread):
self.ip, "-f", self.file]) self.ip, "-f", self.file])
except Exception as e: except Exception as e:
showerror("Error", e) showerror("Error", e)
else:
showinfo("Done", "Update installed")
finally: finally:
self.gui.pb["value"] = 4 self.gui.pb["value"] = 4
self.gui.installButton['state'] = 'normal' self.gui.installButton['state'] = 'normal'