From fef08cbeae1286b0fdda6acbb16d9eb09a41b2e3 Mon Sep 17 00:00:00 2001 From: bobokun Date: Wed, 1 Dec 2021 10:53:03 -0500 Subject: [PATCH] Minor optimization: Removal of unecessary module --- .dockerignore | 1 + .gitignore | 3 ++- qbit_manage.py | 4 +--- 3 files changed, 4 insertions(+), 4 deletions(-) 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