Browse Source

Revert, the error was somewhere else

Foppe Hemminga 6 năm trước cách đây
mục cha
commit
a043088484
1 tập tin đã thay đổi với 0 bổ sung2 xóa
  1. 0 2
      view.py

+ 0 - 2
view.py

@@ -29,8 +29,6 @@ def send_alert(this_alert):
 def _send(send_json):
     load_dotenv()
     webhooks_json = os.environ["DISCORD_TOKENS"]
-    webhooks_json = webhooks_json.replace("'", '"')
-    print(webhooks_json)
     webhooks = json.loads(webhooks_json)
     for webhook_key in webhooks:
         webhook = webhooks[webhook_key]