Skip to content

Commit

Permalink
More PR fixes to print function calls
Browse files Browse the repository at this point in the history
  • Loading branch information
mikaelgoldmann committed Jan 27, 2016
1 parent 94e56e0 commit 179fb1a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions submit.py
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ def main():
elif login_reply.status_code == 404:
print("Incorrect login URL (404)")
else:
print("Status code: {0}".format(login_reply.status_code))
print("Status code:", login_reply.status_code)
sys.exit(1)

submit_url = get_url(cfg, 'submissionurl', 'submit')
Expand All @@ -261,7 +261,7 @@ def main():
elif result.status_code == 404:
print('Incorrect submit URL (404)')
else:
print("Status code: {0}".format(login_reply.status_code))
print("Status code:", login_reply.status_code)
sys.exit(1)

print(result.content.decode('utf-8').replace('<br />', '\n'))
Expand Down

0 comments on commit 179fb1a

Please sign in to comment.