Skip to content

Commit

Permalink
v2.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Bibo-Joshi committed Sep 18, 2021
1 parent 684e4a3 commit ffd9248
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 6 deletions.
6 changes: 6 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@
Changelog
=========

Version 2.2.1
=============
*Released 2021-09-18*

Fixes some minor bugs.

Version 2.2
===========
*Released 2021-09-18*
Expand Down
8 changes: 3 additions & 5 deletions bot/settimezone.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,8 @@ def start(update: Update, context: CCT) -> int:
f"Your current timezone is: {user_data.tzinfo}. Please press the button below to "
"select a new timezone. You can scroll through the available options or type something to "
"narrow down the options.",
reply_markup=InlineKeyboardMarkup.from_row(
[
InlineKeyboardButton(text='Click me 👆', switch_inline_query_current_chat=''),
InlineKeyboardButton('udiarne', callback_data='udiaren'),
]
reply_markup=InlineKeyboardMarkup.from_button(
InlineKeyboardButton(text='Click me 👆', switch_inline_query_current_chat=''),
),
)
cast(Dict, context.chat_data)[REMOVE_KEYBOARD_KEY] = message
Expand Down Expand Up @@ -84,6 +81,7 @@ def handle_inline_query(update: Update, _: CCT) -> int:
for tz in timezones
],
auto_pagination=True,
cache_time=0,
)

return STATE
Expand Down
2 changes: 1 addition & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
logging.basicConfig(
format="%(asctime)s - %(name)s - %(levelname)s - %(message)s",
level=logging.INFO,
# filename="tsb.log",
filename="tsb.log",
)
aps_logger = logging.getLogger('apscheduler')
aps_logger.setLevel(logging.WARNING)
Expand Down

0 comments on commit ffd9248

Please sign in to comment.