Skip to content

Бобров Кирилл АТ-19#23

Open
KyreOn wants to merge 2 commits intorailbotan:mainfrom
KyreOn:main
Open

Бобров Кирилл АТ-19#23
KyreOn wants to merge 2 commits intorailbotan:mainfrom
KyreOn:main

Conversation

@KyreOn
Copy link

@KyreOn KyreOn commented Dec 5, 2021

No description provided.

news.py Outdated


news = list(get_news(get_channel()))
news_json = json.dumps(news, ensure_ascii=False).encode('utf8')
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Здесь можно было использовать метод dump из модуля json

@railbotan
Copy link
Owner

5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants