Extended initialize to include login and lifecycle controlled loops. Loaded tokens into necessary action modules
This commit is contained in:
@@ -15,7 +15,7 @@ isrequest = True
|
||||
|
||||
method = "GET"
|
||||
|
||||
refreshrate = int(os.environ.get("MONITOR_INTERVAL", 10))
|
||||
refreshrate = int(os.environ.get("MONITOR_INTERVAL", 30))
|
||||
|
||||
path = "https://rentmasseur.com/api/v1/account/keeponline"
|
||||
|
||||
@@ -59,6 +59,7 @@ filters = [
|
||||
},
|
||||
]
|
||||
|
||||
sleeptime = 10
|
||||
|
||||
#prints = {
|
||||
# "Status": "message",
|
||||
@@ -68,3 +69,10 @@ filters = [
|
||||
#recoverPolicy = {
|
||||
# KeyError: []
|
||||
#}
|
||||
|
||||
loaddata = [
|
||||
"access_token",
|
||||
"refresh_token",
|
||||
]
|
||||
|
||||
savepath = os.environ["TOKEN_STORE"]
|
||||
Reference in New Issue
Block a user