liveusb/gui.py

Luke Macken lmacken at fedoraproject.org
Sun Nov 8 04:10:09 UTC 2009


 liveusb/gui.py |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit a69897698659a546c683de8341f821346bb51c7d
Author: Luke Macken <lmacken at redhat.com>
Date:   Sat Nov 7 23:09:02 2009 -0500

    Properly handle unicode from the drive text field (#549)

diff --git a/liveusb/gui.py b/liveusb/gui.py
index d7c36db..a63cbd4 100755
--- a/liveusb/gui.py
+++ b/liveusb/gui.py
@@ -406,7 +406,7 @@ class LiveUSBDialog(QtGui.QDialog, LiveUSBInterface):
         self.overlayTitle.setTitle(_("Persistent Storage") + " (%d MB)" % value)
 
     def get_selected_drive(self):
-        text = str(self.driveBox.currentText()).split()
+        text = self.live._to_unicode(self.driveBox.currentText()).split()
         if text:
             return text[0]
 




More information about the liveusb-creator mailing list