Fix product-key prompt daily repitition in community edition
This commit is contained in:
parent
f1f25339fc
commit
70b243c833
|
@ -125,10 +125,11 @@ def update_lnd_info_thread():
|
|||
# Checkin every 24 hours
|
||||
def check_in():
|
||||
# Check in
|
||||
product_key = get_product_key()
|
||||
data = {
|
||||
"serial": get_device_serial(),
|
||||
"version": get_current_version(),
|
||||
"product_key": get_product_key()
|
||||
"product_key": product_key
|
||||
}
|
||||
|
||||
# Check for new version
|
||||
|
@ -143,6 +144,7 @@ def check_in():
|
|||
if r.text == "OK":
|
||||
print("Check In Success: {}".format(r.text))
|
||||
|
||||
if product_key != "community_edition":
|
||||
unset_skipped_product_key()
|
||||
delete_product_key_error()
|
||||
else:
|
||||
|
|
Loading…
Reference in New Issue
Block a user