diff options
| author | Mikhail Osipov <mike.osipov@gmail.com> | 2013-11-17 17:10:40 +0400 |
|---|---|---|
| committer | Mikhail Osipov <mike.osipov@gmail.com> | 2013-11-17 17:10:40 +0400 |
| commit | efed5409610273aadeb8f5c53fa89ae76f076c7f (patch) | |
| tree | 90027ecc6afce0a088df65f25d42aca7c1311e23 /cutter.py | |
| parent | 43ad77f6dd05dc0e240d2accdab7702e7c76a625 (diff) | |
fix python2 unicode related problems
Diffstat (limited to 'cutter.py')
| -rwxr-xr-x | cutter.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -213,9 +213,9 @@ def parse_args(): for opt in tag_options: if type(opt) in (list, tuple): - tag.add_argument(*["--" + s for s in opt], default="") + tag.add_argument(*["--" + s for s in opt], type=to_unicode, default="") else: - tag.add_argument("--" + opt, default="") + tag.add_argument("--" + opt, type=to_unicode, default="") tag.add_argument("--track-total", type=int, dest="tracktotal", metavar="TOTAL") tag.add_argument("--track-start", type=int, dest="trackstart", metavar="START") |
