4159: New Backup option creates invalid file when media is included

svn: r15693
This commit is contained in:
Doug Blank 2010-08-09 13:51:32 +00:00
parent 77fa72cc35
commit 315d7621c1

View File

@ -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]),