just slightly change message markup
This commit is contained in:
parent
18bb303d52
commit
7d011538f6
@ -61,13 +61,12 @@ if __name__ == '__main__':
|
|||||||
state['urls'].append(item['link'])
|
state['urls'].append(item['link'])
|
||||||
|
|
||||||
if updates:
|
if updates:
|
||||||
buf = f"<b>{category['title']}</b>\n"
|
buf = f"<b>Binance: {category['title']}</b>\n"
|
||||||
buf += '\n'.join(list(map(lambda item: f"<a href='{item['link']}'>{item['text']}</a>", updates)))
|
buf += '\n'.join(list(map(lambda item: f"<a href='{item['link']}'>{item['text']}</a>", updates)))
|
||||||
blocks.append(buf)
|
blocks.append(buf)
|
||||||
|
|
||||||
if blocks:
|
if blocks:
|
||||||
message = '<b>Binance Announcements</b>\n\n'
|
message = '\n\n'.join(blocks)
|
||||||
message += '\n\n'.join(blocks)
|
|
||||||
|
|
||||||
if args.stdout:
|
if args.stdout:
|
||||||
print(message)
|
print(message)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user