bugs
parent
bbd421d1f2
commit
6bca7f0983
|
@ -92,6 +92,10 @@ def add_by_isbn(isbn, work=None, language='xx', title=''):
|
|||
# try again some other time
|
||||
return None
|
||||
if e:
|
||||
if e.work.language == 'xx' and language != 'xx':
|
||||
e.work.language == language
|
||||
e.work.save()
|
||||
logger.info('changed language for {} to {}'.format(isbn, language))
|
||||
return e
|
||||
|
||||
logger.info(u"null came back from add_by_isbn_from_google: %s", isbn)
|
||||
|
|
|
@ -56,7 +56,7 @@ DOMAIN_TO_PROVIDER = dict([
|
|||
[u'antropologie.zcu.cz', u'AntropoWeb'],
|
||||
[u'books.mdpi.com', u'MDPI Books'],
|
||||
[u'books.openedition.org', u'OpenEdition Books'],
|
||||
[u'books.scielo.org', u'SciELO'},
|
||||
[u'books.scielo.org', u'SciELO'],
|
||||
[u'ccdigitalpress.org', u'Computers and Composition Digital Press'],
|
||||
[u'digitalcommons.usu.edu', u'DigitalCommons, Utah State University'],
|
||||
[u'dl.dropboxusercontent.com', u'Dropbox'],
|
||||
|
|
Loading…
Reference in New Issue