Removed whitespace on empty lines

This commit is contained in:
2Shirt 2018-12-27 21:42:00 -07:00
parent c96e2f252c
commit 5af0996259
Signed by: 2Shirt
GPG key ID: 152FAC923B0E132C
6 changed files with 8 additions and 8 deletions

View file

@ -18,7 +18,7 @@ if __name__ == '__main__':
# Connect
connect_to_network()
# Done
print_standard('\nDone.')
#pause("Press Enter to exit...")

View file

@ -42,7 +42,7 @@ if __name__ == '__main__':
else:
if not re.search(r'^-*(h|help\?)', run_mode, re.IGNORECASE):
print_error('Invalid mode.')
# Done
print_standard('\nDone.')
pause("Press Enter to exit...")

View file

@ -23,14 +23,14 @@ if __name__ == '__main__':
run_program('amixer -q set "PCM" 90% unmute'.split())
except subprocess.CalledProcessError:
print_error('Failed to set volume')
# Run tests
for mode in ['pink', 'wav']:
run_program(
cmd = 'speaker-test -c 2 -l 1 -t {}'.format(mode).split(),
check = False,
pipe = False)
# Done
#print_standard('\nDone.')
#pause("Press Enter to exit...")

View file

@ -36,7 +36,7 @@ if __name__ == '__main__':
try_and_print(message='DNS Resolution:', function=ping, cs='OK')
try_and_print(message='Speedtest:', function=speedtest,
print_return=True)
# Done
print_standard('\nDone.')
#pause("Press Enter to exit...")

View file

@ -26,7 +26,7 @@ if __name__ == '__main__':
else:
# Couldn't connect
print_error('ERROR: No network connectivity.')
# Done
print_standard('\nDone.')
#pause("Press Enter to exit...")

View file

@ -44,7 +44,7 @@ def scan_file(file_path, search):
except Exception:
# Ignore errors since files may be corrupted
pass
return entry.path if match else None
@ -72,7 +72,7 @@ if __name__ == '__main__':
print_standard(match)
else:
print_error('No matches found.')
# Done
print_standard('\nDone.')
#pause("Press Enter to exit...")