mirror of
https://github.com/StuffAnThings/qbit_manage.git
synced 2024-12-27 02:11:10 +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
|
3
.gitignore
vendored
3
.gitignore
vendored
|
@ -7,4 +7,5 @@ __pycache__/
|
|||
*.yml
|
||||
.vscode/*
|
||||
!.github/**
|
||||
*.svg
|
||||
*.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