diff --git a/README.md b/README.md index 5e82978..7806acd 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,6 @@ * **Python 3.7+** * requests 2.18.4+ * beautifulsoup 4.6.0+ -* schedule 0.5.0+ * lxml 4.2.1+ ### settings.json ### diff --git a/requirements.txt b/requirements.txt index dd33b8e..7d1fb3f 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,4 @@ beautifulsoup4 >= 4.6.0; python_version >= '3.7' requests >= 2.18.4 -schedule >= 0.5.0 lxml >= 4.2.1 \ No newline at end of file diff --git a/setup.py b/setup.py index 701a27b..76377ce 100644 --- a/setup.py +++ b/setup.py @@ -10,6 +10,6 @@ setup( description='A set od scripts to fetch recent changes from MediaWiki wiki to a Discord channel using a webhook', keywords=['MediaWiki', 'recent changes', 'Discord', 'webhook'], package_dir={"": "src"}, - install_requires=["beautifulsoup4 >= 4.6.0", "requests >= 2.18.4", "schedule >= 0.5.0", "lxml >= 4.2.1"], + install_requires=["beautifulsoup4 >= 4.6.0", "requests >= 2.18.4", "lxml >= 4.2.1"], python_requires=">=3.7" ) diff --git a/src/api/client.py b/src/api/client.py index e8e18c7..68d390c 100644 --- a/src/api/client.py +++ b/src/api/client.py @@ -16,7 +16,8 @@ from __future__ import annotations from datetime import datetime -import src.misc, sched +import src.misc +import sched from typing import Union, Callable from collections import OrderedDict from typing import TYPE_CHECKING, Optional diff --git a/src/discussions.py b/src/discussions.py index 5a9bcc1..ccf8a8e 100644 --- a/src/discussions.py +++ b/src/discussions.py @@ -15,7 +15,7 @@ # You should have received a copy of the GNU General Public License # along with RcGcDw. If not, see . -import logging, schedule, requests +import logging, requests from typing import Optional from src.configloader import settings diff --git a/src/rcgcdw.py b/src/rcgcdw.py index 86150ee..33e3eeb 100644 --- a/src/rcgcdw.py +++ b/src/rcgcdw.py @@ -19,7 +19,7 @@ # WARNING! SHITTY CODE AHEAD. ENTER ONLY IF YOU ARE SURE YOU CAN TAKE IT # You have been warned -import time, logging.config, requests, datetime, math, os.path, sched, sys, re, importlib +import time, logging.config, requests, datetime, math, os.path, sys, importlib import src.misc import src.configloader