From 315d7621c12992584f65a7216941ade42d6b179a Mon Sep 17 00:00:00 2001 From: Doug Blank Date: Mon, 9 Aug 2010 13:51:32 +0000 Subject: [PATCH] 4159: New Backup option creates invalid file when media is included svn: r15693 --- src/gui/viewmanager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/viewmanager.py b/src/gui/viewmanager.py index 59b05ad7f..682c5b9af 100644 --- a/src/gui/viewmanager.py +++ b/src/gui/viewmanager.py @@ -1142,7 +1142,7 @@ class ViewManager(CLIManager): self.uistate.progress.show() self.uistate.push_message(self.dbstate, _("Making backup...")) filename = os.path.join(path_entry.get_text(), file_entry.get_text()) - if include.toggled(): + if include.get_active(): from ExportPkg import PackageWriter writer = PackageWriter(self.dbstate.db, filename, msg_callback=lambda m1, m2: ErrorDialog(m1[0], m1[1]),