Update gps_data.py

This commit is contained in:
KF7EEL
2021-01-06 11:30:17 -08:00
committed by GitHub
parent 21799178b2
commit ee4bde0c1c
+1 -1
View File
@@ -555,7 +555,7 @@ if __name__ == '__main__':
user_dict_file.write("{1: [{'call': 'N0CALL'}, {'ssid': ''}, {'icon': ''}, {'comment': ''}]}")
user_dict_file.close()
# Check to see if dashboard files exist
if Path('/tmp/hblink3_gps_data/user_loc.txt').is_file():
if Path('/tmp/gps_data_user_loc.txt').is_file():
pass
else:
Path('/tmp/gps_data_user_loc.txt').touch()