Skip to content

Commit

Permalink
fixed decode issue
Browse files Browse the repository at this point in the history
  • Loading branch information
nficano committed Jun 12, 2017
1 parent 2697acb commit adf7bdc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gendo/bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ def speak(self, message, channel):
channel=channel, text=message)

def get_user_info(self, user_id):
user = self.client.api_call('users.info', user=user_id).decode('utf-8')
user = self.client.api_call('users.info', user=user_id)
return json.loads(user)

def get_user_name(self, user_id):
Expand Down

0 comments on commit adf7bdc

Please sign in to comment.