diff options
-rw-r--r-- | systemCheck.py | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/systemCheck.py b/systemCheck.py index 4b3c90753..050416379 100644 --- a/systemCheck.py +++ b/systemCheck.py @@ -121,5 +121,8 @@ def main(): if __name__ == "__main__": main() - # comp. with py2 and 3 - input("Press Enter to Exit.") + # comp. with py2 and 3 + try: + input("Press Enter to Exit.") + except SyntaxError: # will raise in py2 + pass |