liveusb/gui.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 7bf5c78ded4f3a822f26ef389d6e59a092e115eb
Author: Luke Macken <lmacken(a)redhat.com>
Date: Wed Mar 11 13:17:20 2009 -0400
Handle all Exceptions, not just LiveUSBError's.
This should hopefully shed some light on the problems behind
tickets #524-525
diff --git a/liveusb/gui.py b/liveusb/gui.py
index bb019ac..293d87c 100755
--- a/liveusb/gui.py
+++ b/liveusb/gui.py
@@ -372,7 +372,7 @@ class LiveUSBDialog(QtGui.QDialog, LiveUSBInterface):
self.progressBar.setMaximum(value)
def status(self, text):
- if isinstance(text, LiveUSBError):
+ if isinstance(text, Exception):
text = text.message
self.textEdit.append(text)