mirror of
https://github.com/heyarne/berliner-winter.git
synced 2026-05-06 19:23:39 +02:00
Remove field 'addtional_place' because it can't be reliably parsed
This commit is contained in:
parent
c1ac5e5ed4
commit
98d1e21a90
3 changed files with 4 additions and 15 deletions
|
|
@ -29,7 +29,6 @@ for article in articles:
|
|||
h = hashlib.sha256()
|
||||
h.update(str(article['date']).encode(encoding))
|
||||
h.update(article['place'].encode(encoding))
|
||||
h.update((article['additional_place'] or '').encode(encoding))
|
||||
h.update(article['description'].encode(encoding))
|
||||
digest = h.digest()
|
||||
|
||||
|
|
@ -41,7 +40,6 @@ for article in articles:
|
|||
date = article['date'],
|
||||
month_only = article['month_only'],
|
||||
place = article['place'],
|
||||
additional_place = article['additional_place'],
|
||||
description = article['description'],
|
||||
hash = digest
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue