From f4dbcd33da284d47dd519328a87521e183efeddf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Wed, 17 Oct 2012 21:19:22 +0200 Subject: [PATCH] Fix calls to sig_db_dump/restore issue2814 (transplanted from 2105a3798a43a68f2813a0258597c20d653c87a0) --- tryton/gui/main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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')