Update rpitx.py remove close

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

Loading…
Cancel
Save

Powered by TurnKey Linux.