Add auto reset of stm on start
This commit is contained in:
parent
4f564ca759
commit
91884bd433
2 changed files with 18 additions and 0 deletions
|
@ -2,6 +2,7 @@ __version__ = "0.1.5-1"
|
|||
|
||||
import compLib.LogstashLogging
|
||||
import compLib.Spi
|
||||
import compLib.Reset
|
||||
import logging
|
||||
import apt
|
||||
|
||||
|
@ -16,4 +17,5 @@ except Exception as e:
|
|||
compLib.LogstashLogging.Logging.get_logger().error(f"error during checking apt package version -> {str(e)}")
|
||||
print(f"\033[91merror during checking apt package version -> {str(e)}\033[0m\n")
|
||||
|
||||
compLib.Reset.Reset.reset_bot()
|
||||
compLib.Spi.Spi.health_check()
|
Reference in a new issue