bug fix for sleep hours

This commit is contained in:
Black Coffee 2022-10-07 22:12:48 +01:00
parent b5c992afd9
commit 95e303d9ba

View file

@ -140,8 +140,8 @@ async def api_gerty_json(
# get the sleep time # get the sleep time
sleep_time = gerty.refresh_time sleep_time = gerty.refresh_time
if gerty_should_sleep(): if gerty_should_sleep():
sleep_time_hours = 7 sleep_time_hours = 8
sleep_time = 60 * sleep_time_hours sleep_time = 60 * 60 * sleep_time_hours
return { return {
"settings": { "settings": {