From 5ccbe6e6bd7edc78cc02d764ae55db6aa602363c Mon Sep 17 00:00:00 2001 From: Viraat Chandra Date: Fri, 29 Dec 2017 20:03:20 +0530 Subject: [PATCH] zulip_bots: Reformat code for Mention Bot file `mention.py`. --- zulip_bots/zulip_bots/bots/mention/mention.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/zulip_bots/zulip_bots/bots/mention/mention.py b/zulip_bots/zulip_bots/bots/mention/mention.py index f70e174..5121ad8 100644 --- a/zulip_bots/zulip_bots/bots/mention/mention.py +++ b/zulip_bots/zulip_bots/bots/mention/mention.py @@ -54,8 +54,7 @@ class MentionHandler(object): 'Authorization': 'Bearer ' + self.access_token, 'Accept-Version': '1.15', } - response = requests.get( - 'https://api.mention.net/api/accounts/me', headers=get_ac_id_header) + response = requests.get('https://api.mention.net/api/accounts/me', headers=get_ac_id_header) data_json = response.json() account_id = data_json['account']['id'] return account_id