power: fix incorrect indentation

Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
This commit is contained in:
Arksine 2021-01-28 07:36:21 -05:00
parent 49c5583e95
commit 943b78195b
1 changed files with 1 additions and 1 deletions

View File

@ -177,7 +177,7 @@ class PowerDevice:
self.off_when_shutdown = config.getboolean('off_when_shutdown', False)
self.restart_delay = 1.
self.klipper_restart = config.getboolean(
'restart_klipper_when_powered', False)
'restart_klipper_when_powered', False)
if self.klipper_restart:
self.restart_delay = config.getfloat('restart_delay', 1.)
if self.restart_delay < .000001: