Skip to content

Commit

Permalink
STY: minor style fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Nolan Stelter committed Oct 23, 2023
1 parent 764ab09 commit 685785c
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions slam_launcher/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -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([])
Expand Down

0 comments on commit 685785c

Please sign in to comment.