fix import
This commit is contained in:
parent
c2586bb61d
commit
8c4896bc51
1 changed files with 2 additions and 0 deletions
|
@ -11,6 +11,8 @@ from django.db.models import Q
|
||||||
from django.contrib.auth.models import User
|
from django.contrib.auth.models import User
|
||||||
from django.core.files.base import ContentFile
|
from django.core.files.base import ContentFile
|
||||||
|
|
||||||
|
from lookup.models import MovieId
|
||||||
|
|
||||||
def getCovers(isbn, url_prefix='', limit=lambda x, y: 0.3 < x/y < 1):
|
def getCovers(isbn, url_prefix='', limit=lambda x, y: 0.3 < x/y < 1):
|
||||||
covers = {}
|
covers = {}
|
||||||
if url_prefix.endswith('/'): url_prefix = url_prefix[:-1]
|
if url_prefix.endswith('/'): url_prefix = url_prefix[:-1]
|
||||||
|
|
Loading…
Reference in a new issue