[prev in list] [next in list] [prev in thread] [next in thread]
List: liveusb-creator
Subject: [PATCH] Use the power of unicode to avoid choking on French partitions
From: nekohayo () gmail ! com (=?UTF-8?q?Jean-Fran=C3=A7ois=20Fortin=20Tam?=)
Date: 2012-03-21 0:40:58
Message-ID: mailman.37.1332518486.13703.liveusb-creator () lists ! fedorahosted ! org
[Download RAW message or body]
---
liveusb/creator.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
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')),
--
1.7.7.6
--=-SxNiTVaeTEjAsSvUVX5g--
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic