4763: Crash because error passes instead of string

svn: r16912
This commit is contained in:
Michiel Nauta 2011-03-24 21:20:50 +00:00
parent 200b4f3015
commit 74968f9b5a

View File

@ -5340,7 +5340,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"), '')