FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Error on line 34 fixed, stupid mistake. · ScriptProdigy/CryptsyPythonAPI@df7dce4 · GitHub

Commit df7dce4

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

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎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)

Back | FazBrowse Home | New Git URL