wip
This commit is contained in:
parent
72ddf7a3ee
commit
e2618b2d35
1 changed files with 1 additions and 1 deletions
2
agent.py
2
agent.py
|
@ -97,7 +97,7 @@ def create_auth_token():
|
||||||
# Create a token that expires in 5 minutes
|
# Create a token that expires in 5 minutes
|
||||||
payload = {
|
payload = {
|
||||||
'server': SERVER_NAME,
|
'server': SERVER_NAME,
|
||||||
'exp': datetime.utcnow() + timedelta(minutes=5)
|
'exp': datetime.now() + timedelta(minutes=5)
|
||||||
}
|
}
|
||||||
|
|
||||||
try:
|
try:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue