Skip to content

Commit

Permalink
library: fix up other kraken cmds
Browse files Browse the repository at this point in the history
  • Loading branch information
GiedriusS committed Oct 20, 2015
1 parent e96a8a3 commit b22852d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions library.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ def get_followed_channels(self, payload=None):
Returns a list of channels that user follows
'''
ret = []
cmd = 'users/' + self.nick + '/follows/channels'
cmd = '/users/' + self.nick + '/follows/channels'

if payload is None:
payload = {}
Expand Down Expand Up @@ -288,7 +288,7 @@ def get_status(self):

offset = offset + LIMIT

cmd = 'streams'
cmd = '/streams'
offset = 0
while True:
payload = {'channel': ','.join(elem[0] for elem in ret),
Expand Down

0 comments on commit b22852d

Please sign in to comment.