mirror of
https://github.com/fastogt/pyfastogt
synced 2025-02-12 18:31:52 +00:00
Update request_fastogt_license_key
This commit is contained in:
parent
5545fa691a
commit
f09da3d2bd
1 changed files with 1 additions and 1 deletions
|
@ -48,7 +48,7 @@ if __name__ == "__main__":
|
||||||
|
|
||||||
response = r.json()
|
response = r.json()
|
||||||
if r.status_code == 200 or r.status_code == 201:
|
if r.status_code == 200 or r.status_code == 201:
|
||||||
print(response['exp_time'])
|
print(response['exp_license'])
|
||||||
sys.exit(0)
|
sys.exit(0)
|
||||||
|
|
||||||
print('Request failed, status code: {0}, error{1}'.format(r.status_code, response['error']))
|
print('Request failed, status code: {0}, error{1}'.format(r.status_code, response['error']))
|
||||||
|
|
Loading…
Reference in a new issue