bug fix for sleep hours
This commit is contained in:
parent
b5c992afd9
commit
95e303d9ba
1 changed files with 2 additions and 2 deletions
|
|
@ -140,8 +140,8 @@ async def api_gerty_json(
|
|||
# get the sleep time
|
||||
sleep_time = gerty.refresh_time
|
||||
if gerty_should_sleep():
|
||||
sleep_time_hours = 7
|
||||
sleep_time = 60 * sleep_time_hours
|
||||
sleep_time_hours = 8
|
||||
sleep_time = 60 * 60 * sleep_time_hours
|
||||
|
||||
return {
|
||||
"settings": {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue