jack 1 year ago
parent
commit
ca56e78c2e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      message/message_coin_detail.py

+ 1 - 1
message/message_coin_detail.py

@@ -47,8 +47,8 @@ def get_chainalert():
 
         # 将去重后的数据拼接到 text 中
         for coin, value in data.items():
-            text += f'Ranking: {value[0]}\n'
             text += f'Name: {coin}\n'
+            text += f'Ranking: {value[0]}\n'
             text += f'Price: {value[2]}\n'
             text += f'24H Transaction Volume: {value[3]}\n'
             text += f'24H Price Change: {value[4]}\n'