Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/uniba-swt/swtbahn-cli
Browse files Browse the repository at this point in the history
  • Loading branch information
eyip002 committed Jan 9, 2024
2 parents 1f05e82 + bc2f95a commit 34c3926
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/swtbahn
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ def create_config(hostname, port, default_output):
click.echo("Connection test:")
try:
response = requests.get(server)
if (response.text != "SWTbahn server"):
if (response.status_code != requests.codes.ok):
click.echo("No SWTbahn server on " + server, err=True)
else:
click.echo("Running SWTbahn server found on " + server)
Expand Down

0 comments on commit 34c3926

Please sign in to comment.