Skip to content

Commit

Permalink
Fix NameError. --autopull
Browse files Browse the repository at this point in the history
  • Loading branch information
thomas-daniels committed Jan 17, 2015
1 parent 9f26a66 commit 3daaf4c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions spamhandling.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ def check_if_spam_json(data):
title = d["titleEncodedFancy"]
title = fetch_unescaped_title_from_encoded(title)
poster = d["ownerDisplayName"]
url = d["url"]
print time.strftime("%Y-%m-%d %H:%M:%S"),title.encode("ascii",errors="replace")
quality_score = bayesian_score(title)
print quality_score
Expand Down

0 comments on commit 3daaf4c

Please sign in to comment.