place is array
This commit is contained in:
parent
d1f63bf0db
commit
7ff736465f
1 changed files with 1 additions and 1 deletions
|
@ -90,7 +90,7 @@ def lookup(id):
|
|||
data['place'] = [place]
|
||||
elif ':' in data['publisher']:
|
||||
place, publisher = data['publisher'].split(':', 2)
|
||||
data['place'] = place.strip()
|
||||
data['place'] = [place.strip()]
|
||||
data['publisher'] = publisher.split(',')[0].strip()
|
||||
m = re.compile('\d{4}').findall(publisher)
|
||||
if m:
|
||||
|
|
Loading…
Reference in a new issue