1
0
Fork 0
mirror of https://github.com/fastogt/pyfastogt synced 2025-02-12 12:51:53 +00:00

Update request_fastogt_license_key

This commit is contained in:
Alexandr Topilski 2020-03-04 20:16:37 +03:00 committed by GitHub
parent 4e1f4e6b5f
commit f98cecb886
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -40,7 +40,7 @@ if __name__ == "__main__":
sys.exit(1)
now = datetime.now()
expired_time = int(now.timestamp() + argv.expired_days * 24 * 3600) * 1000
expired_time = int(now.timestamp() + int(argv.expired_days) * 24 * 3600) * 1000
r = requests.post(url=LICENSE_SERVER_URL,
json={'email': argv.email, 'license': argv.license_key, 'project': argv.project,