diff options
-rwxr-xr-x | run_project_tests.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/run_project_tests.py b/run_project_tests.py index 71770f3..426e2c7 100755 --- a/run_project_tests.py +++ b/run_project_tests.py @@ -585,7 +585,7 @@ def check_file(fname): with open(fname, 'rb') as f: lines = f.readlines() for line in lines: - if b'\t' in line: + if line.startswith(b'\t'): print("File %s contains a literal tab on line %d. Only spaces are permitted." % (fname, linenum)) sys.exit(1) if b'\r' in line: |