Skip to content

Commit d32630c

Browse files
committed
Update Cryptsy.py
Hmac won't work if the key and secret aren't strings. (Unicode will not work.)
1 parent bbb8aa2 commit d32630c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Cryptsy.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ def createTimeStamp(datestr, format="%Y-%m-%d %H:%M:%S"):
99

1010
class Cryptsy:
1111
def __init__(self, APIKey, Secret):
12-
self.APIKey = APIKey
13-
self.Secret = Secret
12+
self.APIKey = str(APIKey)
13+
self.Secret = str(Secret)
1414

1515
def post_process(self, before):
1616
after = before

0 commit comments

Comments
 (0)