diff --git a/.dockerignore b/.dockerignore index 281f674..c3dcf59 100644 --- a/.dockerignore +++ b/.dockerignore @@ -17,5 +17,6 @@ config Dockerfile venv .idea +.env test.py !config/config.yml.sample \ No newline at end of file diff --git a/.gitignore b/.gitignore index 1c4666c..1057d88 100644 --- a/.gitignore +++ b/.gitignore @@ -7,4 +7,5 @@ __pycache__/ *.yml .vscode/* !.github/** -*.svg \ No newline at end of file +*.svg +.env \ No newline at end of file diff --git a/qbit_manage.py b/qbit_manage.py index 65c612a..80760f3 100644 --- a/qbit_manage.py +++ b/qbit_manage.py @@ -1,6 +1,6 @@ #!/usr/bin/python3 -import argparse, logging, os, sys, time, shutil, urllib3, stat, fnmatch +import argparse, logging, os, sys, time, shutil, stat, fnmatch from logging.handlers import RotatingFileHandler from datetime import timedelta,datetime from collections import Counter @@ -132,8 +132,6 @@ else: os.makedirs(os.path.join(default_dir, "logs"), exist_ok=True) -urllib3.disable_warnings() - logger = logging.getLogger('qBit Manage') logging.DRYRUN = 25