Skip to content

Commit 9d5191d

Browse files
committed
Update UBX_Integrity_Checker.py
1 parent 6fd46cc commit 9d5191d

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Utils/UBX_Integrity_Checker.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -108,11 +108,11 @@ def crc24q(byte, sum):
108108
repairFilename = filename + '.repair'
109109

110110
# Ask user if GNTXT is to be printed
111-
response = input('Do you want to print any GNTXT messages found? (y/N): ') # Get the response
112-
if (response == '') or (response == 'N') or (response == 'n'):
113-
printGNTXT = False
114-
else:
115-
printGNTXT = True
111+
printGNTXT = False
112+
if containsNMEA == True:
113+
response = input('Do you want to print any GNTXT messages found? (y/N): ') # Get the response
114+
if (response == 'Y') or (response == 'y'):
115+
printGNTXT = True
116116

117117
print()
118118
print('Processing',filename)

0 commit comments

Comments
 (0)