Fix imports

This commit is contained in:
ines 2017-03-18 12:59:41 +01:00
parent a035ebd32a
commit 6b9b444065

View File

@ -4,8 +4,8 @@ from __future__ import unicode_literals
import pip import pip
import plac import plac
import requests import requests
from os import path import os
from .link import link, link_package from .link import link_package
from . import about from . import about
from . import util from . import util
@ -59,7 +59,7 @@ def get_version(model, comp):
def download_model(filename): def download_model(filename):
util.print_msg("Downloading {f}".format(f=filename)) util.print_msg("Downloading {f}".format(f=filename))
download_url = path.join(about.__download_url__, filename) download_url = os.path.join(about.__download_url__, filename)
pip.main(['install', download_url]) pip.main(['install', download_url])