mirror of
https://github.com/StuffAnThings/qbit_manage.git
synced 2025-12-18 14:49:07 +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
|
Dockerfile
|
||||||
venv
|
venv
|
||||||
.idea
|
.idea
|
||||||
|
.env
|
||||||
test.py
|
test.py
|
||||||
!config/config.yml.sample
|
!config/config.yml.sample
|
||||||
3
.gitignore
vendored
3
.gitignore
vendored
|
|
@ -7,4 +7,5 @@ __pycache__/
|
||||||
*.yml
|
*.yml
|
||||||
.vscode/*
|
.vscode/*
|
||||||
!.github/**
|
!.github/**
|
||||||
*.svg
|
*.svg
|
||||||
|
.env
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
#!/usr/bin/python3
|
#!/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 logging.handlers import RotatingFileHandler
|
||||||
from datetime import timedelta,datetime
|
from datetime import timedelta,datetime
|
||||||
from collections import Counter
|
from collections import Counter
|
||||||
|
|
@ -132,8 +132,6 @@ else:
|
||||||
|
|
||||||
|
|
||||||
os.makedirs(os.path.join(default_dir, "logs"), exist_ok=True)
|
os.makedirs(os.path.join(default_dir, "logs"), exist_ok=True)
|
||||||
urllib3.disable_warnings()
|
|
||||||
|
|
||||||
|
|
||||||
logger = logging.getLogger('qBit Manage')
|
logger = logging.getLogger('qBit Manage')
|
||||||
logging.DRYRUN = 25
|
logging.DRYRUN = 25
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue