mirror of
https://github.com/StuffAnThings/qbit_manage.git
synced 2024-12-27 18:59:48 +08:00
Minor optimization: Removal of unecessary module
This commit is contained in:
parent
eac74de9e4
commit
fef08cbeae
3 changed files with 4 additions and 4 deletions
|
@ -17,5 +17,6 @@ config
|
|||
Dockerfile
|
||||
venv
|
||||
.idea
|
||||
.env
|
||||
test.py
|
||||
!config/config.yml.sample
|
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -8,3 +8,4 @@ __pycache__/
|
|||
.vscode/*
|
||||
!.github/**
|
||||
*.svg
|
||||
.env
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue