From 1d455aaba20ceb4a6e9aaf1be4620aeda13c0060 Mon Sep 17 00:00:00 2001 From: Dobromir Popov Date: Thu, 18 Apr 2024 02:12:26 +0300 Subject: [PATCH] remove schedule dependency, as it is failing --- .vscode/tasks.json | 16 +++++++++++----- agent-pyter/dexbot.py | 1 + 2 files changed, 12 insertions(+), 5 deletions(-) diff --git a/.vscode/tasks.json b/.vscode/tasks.json index ad95bfe..6a0c2a1 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -87,10 +87,16 @@ }, }, { - "label": "conda-activate", - "type": "shell", - "command": "conda activate py && echo 'Activated Conda Environment (py)!'", - "problemMatcher": [] - } + "label": "conda-activate", + "type": "shell", + "command": "source ~/miniconda3/etc/profile.d/conda.sh && conda activate py && echo 'Activated Conda Environment (py)!'", + "problemMatcher": [], + "options": { + "shell": { + "executable": "/bin/bash", + "args": ["-c"] + } + } + } ] } \ No newline at end of file diff --git a/agent-pyter/dexbot.py b/agent-pyter/dexbot.py index fe5561b..e90ef26 100644 --- a/agent-pyter/dexbot.py +++ b/agent-pyter/dexbot.py @@ -4,6 +4,7 @@ import schedule import time def check_new_pairs(): + print("Checking for new pairs...") url = "https://www.dextools.io/" url = "https://www.dextools.io/app/en/bnb/pool-explorer" response = requests.get(url)