소스 검색

Remove escape slashes

Foppe Hemminga 6 년 전
부모
커밋
5220d7b205
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      view.py

+ 1 - 1
view.py

@@ -16,7 +16,7 @@ def send_message(status):
     webhooks = json.loads(webhooks_json)
     name = status['name']
     its_id = status['id']
-    status_text = f"[{name} \[{its_id}\]](https://www.torn.com/profiles.php?XID={its_id}) → " + \
+    status_text = f"[{name} [{its_id}]](https://www.torn.com/profiles.php?XID={its_id}) → " + \
                   "Loot level changed to "+roman.toRoman(status['integer'])
     status_text += "\n" + status['time_string']
     this_json = {'content': status_text}