improve jobs looking

This commit is contained in:
Rykov7
2023-04-04 18:03:59 +03:00
parent e0bc153a7d
commit c1dcbcec13
+4 -3
View File
@@ -46,9 +46,10 @@ def stat_report(chat_to_repeat):
def print_get_jobs(): def print_get_jobs():
all_jobs = get_jobs() all_jobs = get_jobs()
text = f"├ <b>Jobs:</b> {str(len(all_jobs))}\ text = f"<b>{len(all_jobs)} jobs</b>\
\n├ {dt.now().strftime('%Y-%m-%d %H:%M:%S')}\n\n" \n..:: {dt.now().strftime('%d-%m-%Y %H:%M:%S')} ::..\n"
text += "<i>" + str(all_jobs) + "</i>" for i in all_jobs:
text += f"\n · {i!r}"
return text return text