X Tutup
Skip to content

Commit 6bfdff8

Browse files
committed
Update examples to column width to 99 [ci skip]
1 parent 2389b07 commit 6bfdff8

File tree

3 files changed

+4
-6
lines changed

3 files changed

+4
-6
lines changed

examples/inlinebot.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,8 @@ def inlinequery(bot, update):
5151
query = update.inline_query.query
5252
results = list()
5353

54-
results.append(InlineQueryResultArticle(id=uuid4(
55-
), title="Caps",
54+
results.append(InlineQueryResultArticle(id=uuid4(),
55+
title="Caps",
5656
input_message_content=InputTextMessageContent(
5757
query.upper())))
5858

examples/inlinekeyboard_example.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,7 @@
1111
from telegram.ext import Updater, CommandHandler, MessageHandler, \
1212
CallbackQueryHandler, Filters
1313

14-
logging.basicConfig(format='%(asctime)s - %(name)s - %(levelname)s - '
15-
'%(message)s',
14+
logging.basicConfig(format='%(asctime)s - %(name)s - %(levelname)s - %(message)s',
1615
level=logging.DEBUG)
1716

1817
# Define the different states a chat can be in

examples/state_machine_bot.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,7 @@
88
from telegram import Emoji, ForceReply, ReplyKeyboardMarkup, KeyboardButton
99
from telegram.ext import Updater, CommandHandler, MessageHandler, Filters
1010

11-
logging.basicConfig(format='%(asctime)s - %(name)s - %(levelname)s - '
12-
'%(message)s',
11+
logging.basicConfig(format='%(asctime)s - %(name)s - %(levelname)s - %(message)s',
1312
level=logging.INFO)
1413

1514
# Define the different states a chat can be in

0 commit comments

Comments
 (0)
X Tutup