diff --git a/flight.py b/flight.py index fe03165..f980020 100755 --- a/flight.py +++ b/flight.py @@ -249,9 +249,6 @@ def main(): # We're expecting ctrl-C will end the program, hide the exception from # the user. pass - except Exception: - log.exception('Exception in main loop! Stopping execution.') - raise finally: if cleanup_function is not None: cleanup_function() diff --git a/orbitx/__init__.py b/orbitx/__init__.py index 7d48013..4ee2686 100644 --- a/orbitx/__init__.py +++ b/orbitx/__init__.py @@ -17,7 +17,7 @@ if not hasattr(sys, 'frozen'): # Made sure we're not in a frozen binary, like a distributed .exe file. # If this file doesn't exist, we must be running as orbitx.exe. - assert target_file.is_file() + assert target_file.is_file(), '----- Remember to run "make build"!! -----' with open(target_file, 'r') as grpc_py: replaced_file = grpc_py.read().replace( '\nimport orbitx_pb2', '\nfrom . import orbitx_pb2')