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