Skip to content

Commit df7dce4

Browse files
committed
Error on line 34 fixed, stupid mistake.
1 parent 1855873 commit df7dce4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Cryptsy.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ def api_query(self, method, req={}):
3131
ret = urllib2.urlopen(urllib2.Request('http://pubapi.cryptsy.com/api.php?method=' + method))
3232
return json.loads(ret.read())
3333
elif(method == "singlemarketdata" or method == "singleorderdata"):
34-
ret = urllib2.urlopen(urllib2.Request('http://pubapi.cryptsy.com/api.php?method=' + method + '&marketid=' + str(marketid)))
34+
ret = urllib2.urlopen(urllib2.Request('http://pubapi.cryptsy.com/api.php?method=' + method + '&marketid=' + str(req['marketid'])))
3535
return json.loads(ret.read())
3636
else:
3737
req['method'] = method

0 commit comments

Comments
 (0)