Archived
Moved sorting back to the get_accounts
This commit is contained in:
1 parent
4954f39a91
commit
9f64305050
2 files changed
+6
-3
No files matched your search
@@ -540,7 +540,6 @@ async def _export2(
|
||||
)
|
||||
tasks.append(loop.run_in_executor(pool, function))
|
||||
accounts = await asyncio.gather(*tasks)
|
||||
accounts.sort(key=lambda account: account.name)
|
||||
json_io = accounts_to_json(accounts)
|
||||
await bot.send_document(
|
||||
mes.chat.id,
|
||||
|
||||
Reference in new issue
Block a user