Fix product-key prompt daily repitition in community edition

This commit is contained in:
Taylor Helsper 2019-06-27 19:47:43 -05:00
parent f1f25339fc
commit 70b243c833

View File

@ -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: