Alert on story update error

This commit is contained in:
2024-03-16 20:41:24 +00:00
parent ab92bd5441
commit 249a616531
3 changed files with 24 additions and 11 deletions

View File

@@ -87,7 +87,7 @@ def story(ref):
s = {}
try:
s['author'] = r['submitter_user']['username']
s['author'] = r['submitter_user']
s['author_link'] = SITE_AUTHOR_LINK(s['author'])
except KeyError:
s['author'] = ''