[prev in list] [next in list] [prev in thread] [next in thread]
List: liveusb-creator
Subject: liveusb/creator.py
From: lmacken () fedoraproject ! org (Luke Macken)
Date: 2012-03-23 16:44:35
Message-ID: 20120323164435.F09812458 () lists ! fedorahosted ! org
[Download RAW message or body]
liveusb/creator.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit e0a52cf3f891614c0204a32f5e467ab7da41d739
Author: Jean-François Fortin Tam <nekohayo at gmail.com>
Date: Tue Mar 20 20:40:58 2012 -0400
Use the power of unicode to avoid choking on French partitions
diff --git a/liveusb/creator.py b/liveusb/creator.py
index 23e89ca..345b51a 100755
--- a/liveusb/creator.py
+++ b/liveusb/creator.py
@@ -448,7 +448,7 @@ class LinuxLiveUSBCreator(LiveUSBCreator):
data = {
'udi': str(device),
'is_optical': bool(dev.Get(device, 'DeviceIsOpticalDisc')),
- 'label': str(dev.Get(device, 'IdLabel')).replace(' ', '_'),
+ 'label': unicode(dev.Get(device, 'IdLabel')).replace(' ', '_'),
'fstype': str(dev.Get(device, 'IdType')),
'fsversion': str(dev.Get(device, 'IdVersion')),
'uuid': str(dev.Get(device, 'IdUuid')),
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic