Skip to content

Commit

Permalink
Merge pull request #212 from MikiEremiki/develop
Browse files Browse the repository at this point in the history
fix: Добавлены переносы строк
  • Loading branch information
MikiEremiki authored Nov 11, 2024
2 parents 794bd62 + 92fc109 commit 419eecc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/handlers/main_hl.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,9 +143,9 @@ async def update_ticket(update: Update, context: ContextTypes.DEFAULT_TYPE):
child_str = ''
for person in people:
if hasattr(person.adult, 'phone'):
adult_str = f'{person.name}\n+7{person.adult.phone}'
adult_str = f'{person.name}\n+7{person.adult.phone}\n'
elif hasattr(person.child, 'age'):
child_str += f'{person.name} {person.child.age}'
child_str += f'{person.name} {person.child.age}\n'
people_str = adult_str + child_str
text = (
f'Техническая информация по билету {ticket_id}\n\n'
Expand Down

0 comments on commit 419eecc

Please sign in to comment.