We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 42a2de4 commit 62e9543Copy full SHA for 62e9543
licensing/models.py
@@ -78,7 +78,7 @@ def __init__(self, ProductId, ID, Key, Created, Expires, Period, F1, F2,\
78
@staticmethod
79
def from_response(response):
80
81
- if response.result == "1":
+ if response.result == 1:
82
raise ValueError("The response did not contain any license key object since it was unsuccessful. Message '{0}'.".format(response.message))
83
84
obj = json.loads(base64.b64decode(response.license_key).decode('utf-8'))
0 commit comments