[prev in list] [next in list] [prev in thread] [next in thread] 

List:       liveusb-creator
Subject:    liveusb/gui.py
From:       lmacken () fedoraproject ! org (Luke Macken)
Date:       2009-11-08 4:10:09
Message-ID: 20091108041009.D55BB120286 () lists ! fedorahosted ! org
[Download RAW message or body]

 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]
 



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic