Merge branch 'news-support' of /home/vilmibm/tildetown-scripts

master
nathaniel smith 2016-09-05 20:00:49 +00:00
commit bffa76628a
1 changed files with 1 additions and 1 deletions

View File

@ -150,7 +150,7 @@ def parse_news(news_path):
elif in_meta:
key, value = line.split(':', 1)
current_entry[key] = value.rstrip().lstrip()
if set(current_entry.keys()) == set(metadata_keys):
if set(metadata_keys).issubset(current_entry.keys()):
in_content = True
in_meta = False
elif in_content: