Update rpitx.py read open battery_saver

beta-v1.3.2-battery-saver-2
Alan Johnston 2 years ago committed by GitHub
parent dfed6fccbc
commit 7c107b26e7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -13,7 +13,7 @@ from PIL import Image, ImageDraw, ImageFont, ImageColor
def battery_saver_check():
try:
global txc
f = open("/home/pi/CubeSatSim/battery_saver")
f = open("/home/pi/CubeSatSim/battery_saver", "r")
f.close()
txc = False
print("battery saver activated")

Loading…
Cancel
Save

Powered by TurnKey Linux.