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:
parent
4e1f4e6b5f
commit
f98cecb886
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue