mirror of
https://github.com/tuna/tunasync-scripts.git
synced 2025-12-26 00:42:46 +00:00
shadowmire.py: update to taoky/shadowmire@4e20615ed6
Some checks failed
docker-images / multi (., tunasync-scripts) (push) Has been cancelled
docker-images / multi (bandersnatch) (push) Has been cancelled
docker-images / multi (dockerfiles/rubygems, rubygems-mirror) (push) Has been cancelled
docker-images / multi (ftpsync) (push) Has been cancelled
docker-images / multi (nix-channels) (push) Has been cancelled
docker-images / multi (pub-mirror) (push) Has been cancelled
docker-images / multi (rustup-mirror) (push) Has been cancelled
docker-images / multi (shadowmire) (push) Has been cancelled
Some checks failed
docker-images / multi (., tunasync-scripts) (push) Has been cancelled
docker-images / multi (bandersnatch) (push) Has been cancelled
docker-images / multi (dockerfiles/rubygems, rubygems-mirror) (push) Has been cancelled
docker-images / multi (ftpsync) (push) Has been cancelled
docker-images / multi (nix-channels) (push) Has been cancelled
docker-images / multi (pub-mirror) (push) Has been cancelled
docker-images / multi (rustup-mirror) (push) Has been cancelled
docker-images / multi (shadowmire) (push) Has been cancelled
Signed-off-by: Shengqi Chen <harry-chen@outlook.com>
This commit is contained in:
parent
1b97fd4c77
commit
1683a1d751
|
|
@ -29,7 +29,6 @@ from tqdm import tqdm
|
|||
from requests.adapters import HTTPAdapter, Retry
|
||||
|
||||
LOG_FORMAT = "%(asctime)s %(levelname)s: %(message)s (%(filename)s:%(lineno)d)"
|
||||
logging.basicConfig(format=LOG_FORMAT)
|
||||
logger = logging.getLogger("shadowmire")
|
||||
|
||||
|
||||
|
|
@ -961,7 +960,7 @@ def read_config(
|
|||
@click.pass_context
|
||||
def cli(ctx: click.Context, repo: str) -> None:
|
||||
log_level = logging.DEBUG if os.environ.get("DEBUG") else logging.INFO
|
||||
logging.basicConfig(level=log_level)
|
||||
logging.basicConfig(level=log_level, format=LOG_FORMAT)
|
||||
ctx.ensure_object(dict)
|
||||
|
||||
if WORKERS > 10:
|
||||
|
|
|
|||
Loading…
Reference in New Issue