Skip to content

Commit

Permalink
Fix checking for timestamp when not all actions have timestamps.
Browse files Browse the repository at this point in the history
  • Loading branch information
awused committed Dec 21, 2022
1 parent 1d1d9c2 commit ad5bdca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion softchat/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -408,7 +408,7 @@ def main():

if not err:
try:
_ = jd2[0]["timestamp"]
_ = jd2[0]["action_type"]
except:
err = "does not look like a chatlog"

Expand Down

0 comments on commit ad5bdca

Please sign in to comment.