Skip to content
Snippets Groups Projects
Commit 4959923f authored by fmk17's avatar fmk17
Browse files

Add bullet point in formatting

parent 0b196070
Branches
No related tags found
No related merge requests found
......@@ -210,7 +210,7 @@ def agendar_antes_abertura(update: Update, context: CallbackContext) -> None:
prev_data.step -= 1
update.callback_query.message.edit_text(
f'<b>Notificações</b>\n\n<b>{LOCATION_TO_HEADER[data.location]}</b>\n' +
'\n'.join(f' {meal.value} · {", ".join(DAY_WEEK_NUMBER_TO_STRING[day_week] for day_week in day_weeks)}'
'\n'.join(f' {meal.value} · {", ".join(DAY_WEEK_NUMBER_TO_STRING[day_week] for day_week in day_weeks)}'
for meal, day_weeks in data.days_week_by_meal.items()) + '\n\n' +
f'Adicione ou remova dias de semana para as notificações do {meal_step.value}, vá para o próximo quando terminar.',
reply_markup=InlineKeyboardMarkup([
......@@ -255,7 +255,7 @@ def send_scheduled(context: CallbackContext) -> None:
if len(days):
day = days[0]
body = next(
f'<b>{day.date_raw}</b>\n<b> {menu.meal.value}</b>\n' + '\n'.join(f' {item}' for item in menu.items)
f'<b>{day.date_raw}</b>\n<b> {menu.meal.value}</b>\n' + '\n'.join(f' {item}' for item in menu.items)
for menu in day.menus if menu.meal == schedule.meal
)
else:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment