[options] Correct option usage
authorPhilipp Hagemeister <phihag@phihag.de>
Sat, 13 Sep 2014 05:58:44 +0000 (07:58 +0200)
committerPhilipp Hagemeister <phihag@phihag.de>
Sat, 13 Sep 2014 05:58:44 +0000 (07:58 +0200)
youtube_dl/__init__.py
youtube_dl/options.py

index cc0a4071fe662bb7d85555a0c002c90431de0e54..42d0a018014045f4a288c8c48669edd669e7bca9 100644 (file)
@@ -86,6 +86,9 @@ import random
 import sys
 
 
+from .options import (
+    parseOpts,
+)
 from .utils import (
     compat_getpass,
     compat_print,
@@ -94,7 +97,6 @@ from .utils import (
     decodeOption,
     DownloadError,
     MaxDownloadsReached,
-    parseOpts,
     preferredencoding,
     read_batch_urls,
     SameFileError,
index d8c161c9e44c887cdc85d6e337982a1de3404b65..31baab469a68eca821949aed55e0b262e49f21ee 100644 (file)
@@ -1,3 +1,5 @@
+from __future__ import unicode_literals
+
 import os.path
 import optparse
 import shlex