Procházet zdrojové kódy

Remove escape slashes

Foppe Hemminga před 6 roky
rodič
revize
5220d7b205
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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}