[Pkg-privacy-commits] [tails-installer] 12/35: Fix another bug with non-ascii device labels (#863064)
anonym
anonym-tails-guest at moszumanska.debian.org
Thu Jan 12 15:14:41 UTC 2017
This is an automated email from the git hooks/post-receive script.
anonym-tails-guest pushed a commit to annotated tag 3.12.0
in repository tails-installer.
commit 739c8b6fea70ba7a93af2a2422844d53b3a4b8b9
Author: Luke Macken <lmacken at redhat.com>
Date: Fri Mar 1 12:17:14 2013 -0500
Fix another bug with non-ascii device labels (#863064)
---
liveusb/gui.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/liveusb/gui.py b/liveusb/gui.py
index 98d0e1e..946f339 100755
--- a/liveusb/gui.py
+++ b/liveusb/gui.py
@@ -385,9 +385,9 @@ class LiveUSBDialog(QtGui.QDialog, LiveUSBInterface):
2gigs of free space, set the maximum to 2047mb, which is apparently
the largest file we can/should store on a vfat partition.
"""
- if not str(drive):
+ if not unicode(drive):
return
- self._refresh_overlay_slider(str(drive).split()[0])
+ self._refresh_overlay_slider(unicode(drive).split()[0])
def _refresh_overlay_slider(self, drive=None):
"""
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-privacy/packages/tails-installer.git
More information about the Pkg-privacy-commits
mailing list