Update rpitx.py changed to .close

beta-v1.3.2-battery-saver
Alan Johnston 2 years ago committed by GitHub
parent fec17d51c0
commit c41932c9b4
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:
f = open("/home/pi/CubeSatSim/battery_saver")
# close(f)
f.close()
txc = False
print("battery saver activated")
except:

Loading…
Cancel
Save

Powered by TurnKey Linux.