Quellcode durchsuchen

Remove escape slashes

Foppe Hemminga vor 6 Jahren
Ursprung
Commit
5220d7b205
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  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}