From e0f7bdc2191bfcf53097cca6f7857ec4e3868325 Mon Sep 17 00:00:00 2001 From: Stefano Date: Sun, 7 Apr 2013 00:51:48 +0200 Subject: Fixed #65 --- systemCheck.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'systemCheck.py') 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 -- cgit v1.2.3