From 685785cf4f510649228a8c09ac15a0002c19f73d Mon Sep 17 00:00:00 2001 From: Nolan Stelter Date: Mon, 23 Oct 2023 14:48:36 -0700 Subject: [PATCH] STY: minor style fixes --- slam_launcher/main.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/slam_launcher/main.py b/slam_launcher/main.py index d34f496..eed2e53 100644 --- a/slam_launcher/main.py +++ b/slam_launcher/main.py @@ -25,12 +25,14 @@ def main(): topics = app_args.topics.split(",") kafka_boostrap_servers = app_args.bootstrap_servers.split(",") - + if not app_args.topics: - print ("No topics provided in cmdline args (specify with '--topics' flag)\nQuitting application...") + print("No topics provided in cmdline args (specify with '--topics' flag)") + print("Quitting application...") sys.exit(1) if not kafka_boostrap_servers: - print ("No bootstrap-servers provided in cmdline args (specify with '--bootstrap-servers' flag)\nQuitting application...") + print("No bootstrap-servers provided in cmdline args (specify with '--bootstrap-servers' flag)") + print("Quitting application...") sys.exit(1) app = QApplication([])