Update gps_data.py

This commit is contained in:
KF7EEL 2021-01-06 11:31:22 -08:00 committed by GitHub
parent e6e9600e73
commit d76a808e4a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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()