Open queeek opened 3 years ago
Instead of rebooting and telling the user the Pi can be powered off, a os.system("sudo shutdown now") should be done
os.system("sudo shutdown now")
https://github.com/adeept/Adeept_RaspTank/blob/f4a9dab2d65206cc856a4dcdd2033425fb3de9b5/setup.py#L146-L148
It is the code for do shut down? Not rebooting ?
yes with os.system("sudo shutdown now") you shutdown the Pi.
Instead of rebooting and telling the user the Pi can be powered off, a
os.system("sudo shutdown now")
should be donehttps://github.com/adeept/Adeept_RaspTank/blob/f4a9dab2d65206cc856a4dcdd2033425fb3de9b5/setup.py#L146-L148