Version 0.9.15

This commit is contained in:
Paco8 committed 2024-11-07 14:04:36 +01:00
1 parent 3ff31353c0
commit fe2f12b714
6 files changed
+87 -22

No files matched your search

+2 -2
View File
@@ -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