Version 0.9.15
This commit is contained in:
1 parent
3ff31353c0
commit
fe2f12b714
6 files changed
+87
-22
No files matched your search
@@ -217,12 +217,12 @@ class RequestHandler(BaseHTTPRequestHandler):
|
||||
LOG('license response: {}'.format(license_data))
|
||||
d = try_load_json(license_data)
|
||||
if d and 'errorCode' in d:
|
||||
from .gui import show_notification
|
||||
show_notification('Error {}: {}'.format(d['errorCode'], d['message']))
|
||||
if d['errorCode'] == 4027:
|
||||
if not reregister_needed and addon.getSettingBool('reregister'):
|
||||
reregister_needed = True
|
||||
continue
|
||||
from .gui import show_notification
|
||||
show_notification('Error {}: {}'.format(d['errorCode'], d['message']))
|
||||
else:
|
||||
LOG('license response: {}'.format(encode_base64(license_data)))
|
||||
break
|
||||
|
||||
Reference in new issue
Block a user