]> gitweb @ CieloNegro.org - youtube-dl.git/blobdiff - youtube_dl/FileDownloader.py
Use relative imports
[youtube-dl.git] / youtube_dl / FileDownloader.py
index 9dc3523e0e492c774fbaf277d560ab3a7a8993a2..a135be3525d2cc699e9a8ae4b9447e96a3ee762d 100644 (file)
@@ -1,6 +1,8 @@
 #!/usr/bin/env python
 # -*- coding: utf-8 -*-
 
+from __future__ import absolute_import
+
 import math
 import os
 import re
@@ -12,7 +14,7 @@ import time
 if os.name == 'nt':
     import ctypes
 
-from utils import *
+from .utils import *
 
 
 class FileDownloader(object):