Skip to content

Commit c16df09

Browse files
sgratzljsmnbom
authored andcommitted
small changes (jsmnbom#15)
1 parent a67ea6d commit c16df09

File tree

3 files changed

+2
-4
lines changed

3 files changed

+2
-4
lines changed

bot/github.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,6 @@ def handle_auth_update(self, update: GithubAuthUpdate, context: CallbackContext)
3434

3535
access_token = github_api.get_oauth_access_token(update.code, update.raw_state)
3636

37-
self.logger.debug('Access token for user %s: %s', user_id, access_token)
38-
3937
context.user_data['access_token'] = access_token
4038

4139
from bot.settings import login_menu

bot/menu.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ def __init__(self, key, value, text=None, states=None, default=None):
180180
if (text is None and states is None) or (text is not None and states is not None):
181181
raise RuntimeError
182182
if text is not None:
183-
states = ((False, text), (True, '\u2714' + text))
183+
states = ((False, text), (True, '☑️' + text))
184184
if default is None:
185185
default = states[0][0]
186186
self.default = default

bot/webhookupdater.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ def post(self):
3434
self.process_data(data)
3535

3636
def process_data(self, data: Dict):
37-
raise NotImplemented
37+
raise NotImplementedError
3838

3939
def validate(self):
4040
ct_header = self.request.headers.get("Content-Type", None)

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy