This commit is contained in:
j 2015-11-03 23:58:55 +01:00
parent 5ecb2aeafc
commit a40c38248d

View file

@ -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)