]> gitweb @ CieloNegro.org - youtube-dl.git/blobdiff - youtube_dl/__init__.py
Use relative imports
[youtube-dl.git] / youtube_dl / __init__.py
index a0caa21b02896d85e6cd6bae4ea9af448af943d5..bf0ce14ecb2781d40936830fa25067a5c1af691b 100644 (file)
@@ -2,6 +2,7 @@
 # -*- coding: utf-8 -*-
 
 from __future__ import with_statement
+from __future__ import absolute_import
 
 __authors__  = (
     'Ricardo Garcia Gonzalez',
@@ -39,10 +40,10 @@ import subprocess
 import sys
 import warnings
 
-from utils import *
-from FileDownloader import *
-from InfoExtractors import *
-from PostProcessor import *
+from .utils import *
+from .FileDownloader import *
+from .InfoExtractors import *
+from .PostProcessor import *
 
 def updateSelf(downloader, filename):
     ''' Update the program file with the latest version from the repository '''