diff --git a/common_functions.py b/common_functions.py index 1f9056a..0770730 100644 --- a/common_functions.py +++ b/common_functions.py @@ -33,7 +33,7 @@ def get_configuration(): else: name = args.name except ConfigParser.NoSectionError: - exit("Host or username not specified") + sys.exit("Host or username not specified") with open('syncplay.ini', 'wb') as configfile: try: