Bug fixes

This commit is contained in:
2025-02-01 20:31:35 +00:00
parent 249a616531
commit f10e6063fc
3 changed files with 4 additions and 3 deletions

View File

@@ -50,7 +50,7 @@ def unix(date_str):
def make_comment(i):
c = {}
try:
c['author'] = i['commenting_user']['username']
c['author'] = i['commenting_user']
except KeyError:
c['author'] = ''
c['score'] = i.get('score', 0)