1
0
Fork 0
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:
Alexandr Topilski 2020-03-02 09:42:20 +03:00 committed by GitHub
parent 5545fa691a
commit f09da3d2bd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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']))