4763: Crash because error passes instead of string

svn: r16911
This commit is contained in:
Michiel Nauta 2011-03-24 21:20:08 +00:00
parent 911a32e5db
commit 7eb1a57669

View File

@ -5719,7 +5719,7 @@ class NavWebReport(Report):
self.archive = tarfile.open(self.target_path, "w:gz")
except (OSError, IOError), value:
ErrorDialog(_("Could not create %s") % self.target_path,
value)
str(value))
return
self.progress = ProgressMeter(_("Narrated Web Site Report"), '')