24 lines
367 B
Python
24 lines
367 B
Python
from plugins.rmass.actions import login, getcsrf, setavailable, checkavailable, refresh_tokens
|
|
|
|
name = "Set Available"
|
|
|
|
kind = "operation"
|
|
|
|
actions = [
|
|
refresh_tokens,
|
|
checkavailable,
|
|
setavailable,
|
|
]
|
|
|
|
sleeptime = 10
|
|
|
|
skipstep = {
|
|
setavailable: {
|
|
"output": "validTo",
|
|
"operator": ">=",
|
|
"value": 3600,
|
|
}
|
|
}
|
|
|
|
role = "activate"
|