Skip to content
This repository was archived by the owner on Mar 3, 2018. It is now read-only.

Commit 4d7aed9

Browse files
author
Rolandas Barysas
authored
Merge pull request #14 from reboot/fix_error_caused_by_channels_with_custom_display_names
Fix getting channel name from follows response
2 parents f6d1b62 + 7033ed6 commit 4d7aed9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

run.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ def fetch_followed_channels(self, username):
3535
self.data = json.loads(self.f.read())
3636

3737
for channel in self.data['follows']:
38-
self.followed_channels.append(channel['channel']['display_name'])
38+
self.followed_channels.append(channel['channel']['name'])
3939

4040
return self.followed_channels
4141
except IOError:

0 commit comments

Comments
 (0)