Skip to content

Commit

Permalink
Remove debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
Undo1 committed Aug 14, 2016
1 parent dcb68bf commit 264949d
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions datahandling.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,13 +126,9 @@ def add_whitelisted_user(user):


def add_blacklisted_user(user, message_url, post_url):
print(user.__str__())
print("adding blu" + message_url + " " + post_url)
if is_blacklisted_user(user) or user is None:
print("exiting")
return
GlobalVars.blacklisted_users.append((user, message_url, post_url))
print("blacklisted")
with open("blacklistedUsers.txt", "wb") as f:
pickle.dump(GlobalVars.blacklisted_users, f, protocol=pickle.HIGHEST_PROTOCOL)

Expand Down

0 comments on commit 264949d

Please sign in to comment.