Skip to content

Commit

Permalink
Don't use non-existing 'data' attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
thomas-daniels committed Dec 7, 2015
1 parent c193d67 commit 5933c3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chatcommunicate.py
Expand Up @@ -56,7 +56,7 @@ def watcher(ev, wrap2):
message_parts = content_source.split(" ")

ev_user_name = ev.data["user_name"].encode('utf-8')
ev_user_link = "//chat." + wrap2.host + "/users/" + ev.message.data["owner_user_id"]
ev_user_link = "//chat." + wrap2.host + "/users/" + str(ev.user.id)
if ev_user_name != "SmokeDetector":
GlobalVars.tavern_users_chatting.append((ev_user_name, ev_user_link))

Expand Down

0 comments on commit 5933c3e

Please sign in to comment.