diff options
author | Trygve Aaberge <trygveaa@gmail.com> | 2019-06-04 21:56:56 +0200 |
---|---|---|
committer | Trygve Aaberge <trygveaa@gmail.com> | 2019-06-04 21:56:56 +0200 |
commit | f4497e99e7a4956840d8c6199f37d5b393a2f9b2 (patch) | |
tree | 2fa9934650cc83098b4f9324080f8c6af58b6904 /wee_slack.py | |
parent | a235e3b7d9c1f18b1c28bcf03e89577e2d9e3c08 (diff) | |
download | wee-slack-f4497e99e7a4956840d8c6199f37d5b393a2f9b2.tar.gz |
Add missing formatting placeholders in register_callback
Diffstat (limited to 'wee_slack.py')
-rw-r--r-- | wee_slack.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/wee_slack.py b/wee_slack.py index a5733cf..dbe6446 100644 --- a/wee_slack.py +++ b/wee_slack.py @@ -3659,12 +3659,12 @@ def command_register(data, current_buffer, args): @utf8_decode def register_callback(data, command, return_code, out, err): if return_code != 0: - w.prnt("", "ERROR: problem when trying to get Slack OAuth token. Got return code {}. Err: ".format(return_code, err)) + w.prnt("", "ERROR: problem when trying to get Slack OAuth token. Got return code {}. Err: {}".format(return_code, err)) w.prnt("", "Check the network or proxy settings") return w.WEECHAT_RC_OK_EAT if len(out) <= 0: - w.prnt("", "ERROR: problem when trying to get Slack OAuth token. Got 0 length answer. Err: ".format(err)) + w.prnt("", "ERROR: problem when trying to get Slack OAuth token. Got 0 length answer. Err: {}".format(err)) w.prnt("", "Check the network or proxy settings") return w.WEECHAT_RC_OK_EAT |