Skip to content

Commit

Permalink
Fix type error
Browse files Browse the repository at this point in the history
  • Loading branch information
csnardi committed Jan 17, 2015
1 parent 6d022c6 commit 07d9278
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spamhandling.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ def check_if_spam_json(data):
try:
_ = d["ownerUrl"]
except:
return False # owner's account doesn't exist anymore, no need to post it in chat:
# http://chat.stackexchange.com/transcript/message/18380776#18380776
return False, None # owner's account doesn't exist anymore, no need to post it in chat:
# http://chat.stackexchange.com/transcript/message/18380776#18380776
title = d["titleEncodedFancy"]
title = fetch_unescaped_title_from_encoded(title)
poster = d["ownerDisplayName"]
Expand Down

0 comments on commit 07d9278

Please sign in to comment.