[SCM] morituri/master: fix example for unicode
js at users.alioth.debian.org
js at users.alioth.debian.org
Sun Oct 19 20:09:14 UTC 2014
The following commit has been merged in the master branch:
commit fa17065ae33a55401bf411c486cad13defd42479
Author: Thomas Vander Stichele <thomas (at) apestaart (dot) org>
Date: Wed Dec 9 17:34:02 2009 +0000
fix example for unicode
diff --git a/examples/gtkchecksum.py b/examples/gtkchecksum.py
index a43ad9e..ea8a1ac 100644
--- a/examples/gtkchecksum.py
+++ b/examples/gtkchecksum.py
@@ -49,7 +49,7 @@ path = 'test.flac'
start = 0
end = -1
try:
- path = sys.argv[1]
+ path = unicode(sys.argv[1])
start = int(sys.argv[2])
end = int(sys.argv[3])
except IndexError:
--
morituri packaging
More information about the pkg-multimedia-commits
mailing list