power: fix incorrect indentation
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
This commit is contained in:
parent
49c5583e95
commit
943b78195b
|
@ -177,7 +177,7 @@ class PowerDevice:
|
||||||
self.off_when_shutdown = config.getboolean('off_when_shutdown', False)
|
self.off_when_shutdown = config.getboolean('off_when_shutdown', False)
|
||||||
self.restart_delay = 1.
|
self.restart_delay = 1.
|
||||||
self.klipper_restart = config.getboolean(
|
self.klipper_restart = config.getboolean(
|
||||||
'restart_klipper_when_powered', False)
|
'restart_klipper_when_powered', False)
|
||||||
if self.klipper_restart:
|
if self.klipper_restart:
|
||||||
self.restart_delay = config.getfloat('restart_delay', 1.)
|
self.restart_delay = config.getfloat('restart_delay', 1.)
|
||||||
if self.restart_delay < .000001:
|
if self.restart_delay < .000001:
|
||||||
|
|
Loading…
Reference in New Issue