Skip to content

Commit

Permalink
fixes Py3 import bug in downloader.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Zulko committed Jan 24, 2015
1 parent 5728a0b commit 7625c42
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion moviepy/video/io/downloader.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,12 @@
"""

import os
from urllib import urlretrieve

try: # Py2 and Py3 compatibility
from urllib import urlretrieve
except:
from urllib.request import urlretrieve

from moviepy.tools import subprocess_call


Expand Down

0 comments on commit 7625c42

Please sign in to comment.