Skip to content
Permalink
Browse files

Use f-string instead of `.format()`

  • Loading branch information
NilsIrl committed Feb 10, 2020
1 parent 7bda97b commit 8d6d31b3453e33dd48770b909174443b32c9e135
Showing with 1 addition and 1 deletion.
  1. +1 −1 swaglyrics_backend/issue_maker.py
@@ -486,7 +486,7 @@ def update_webhook():
discord_deploy(payload)
else:
print(f'weird mismatch: {commit_hash=} {payload["after"]=}')
return 'Updated PythonAnywhere server to commit {commit}'.format(commit=commit_hash)
return f'Updated PythonAnywhere server to commit {commit_hash}'
else:
return json.dumps({'msg': "Wrong event type"})

0 comments on commit 8d6d31b

Please sign in to comment.
You can’t perform that action at this time.