change file to file

sr-frs-rx
Alan Johnston 2 years ago committed by GitHub
parent 6047da937b
commit b2d5f348f0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -355,8 +355,8 @@ if __name__ == "__main__":
font1 = ImageFont.truetype('DejaVuSerif-Bold.ttf', 20)
try:
file = open("/home/pi/CubeSatSim/telem_string.txt")
telem_string = file.readline()
filep = open("/home/pi/CubeSatSim/telem_string.txt")
telem_string = filep.readline()
except:
telem_string = ""
if (debug_mode == 1):

Loading…
Cancel
Save

Powered by TurnKey Linux.