Fix python 3 compat

This commit is contained in:
Eric Holscher
2014-08-14 17:14:42 -07:00
parent 7c6dc4b181
commit c86ccb2358

View File

@@ -9,7 +9,10 @@ and structure of the site and pages in the site.
import os
import shutil
from urlparse import urlparse
try:
from urlparse import urlparse
except ImportError:
from urllib.parse import urlparse
def copy_file(source_path, output_path):