diff --git a/tryton/gui/main.py b/tryton/gui/main.py index d68cc44218..fcdef8c463 100644 --- a/tryton/gui/main.py +++ b/tryton/gui/main.py @@ -1311,7 +1311,7 @@ class Main(object): self.refresh_ssl() common.message(_("Database dropped successfully!")) - def sig_db_restore(self, widget): + def sig_db_restore(self, widget=None): if not self.sig_logout(widget): return False filename = common.file_selection(_('Open Backup File to Restore...'), @@ -1353,7 +1353,7 @@ class Main(object): else: common.message(_('Database restore failed!')) - def sig_db_dump(self, widget): + def sig_db_dump(self, widget=None): if not self.sig_logout(widget): return False dialog = DBBackupDrop(function='backup')