Skip to content

Commit 62e9543

Browse files
committed
Fix #61
1 parent 42a2de4 commit 62e9543

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

licensing/models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ def __init__(self, ProductId, ID, Key, Created, Expires, Period, F1, F2,\
7878
@staticmethod
7979
def from_response(response):
8080

81-
if response.result == "1":
81+
if response.result == 1:
8282
raise ValueError("The response did not contain any license key object since it was unsuccessful. Message '{0}'.".format(response.message))
8383

8484
obj = json.loads(base64.b64decode(response.license_key).decode('utf-8'))

0 commit comments

Comments
 (0)