Skip to content
This repository has been archived by the owner on Jul 5, 2024. It is now read-only.

Commit

Permalink
Try to fix all configs
Browse files Browse the repository at this point in the history
  • Loading branch information
Jules-WinnfieldX committed Dec 6, 2023
1 parent 8117a51 commit fb776bd
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion cyberdrop_dl/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "5.0.55"
__version__ = "5.0.56"
1 change: 0 additions & 1 deletion cyberdrop_dl/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@ async def director(manager: Manager) -> None:
if manager.args_manager.all_configs:
configs_to_run = list(set(configs) - set(configs_ran))
manager.config_manager.change_config(configs_to_run[0])
manager.startup()
configs_ran.append(configs_to_run[0])

logger = logging.getLogger("cyberdrop_dl")
Expand Down
4 changes: 4 additions & 0 deletions cyberdrop_dl/managers/config_manager.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
import asyncio
import copy
import shutil
from dataclasses import field
from pathlib import Path
from time import sleep
from typing import Dict, List, TYPE_CHECKING

import yaml
Expand Down Expand Up @@ -197,5 +199,7 @@ def change_config(self, config_name: str) -> None:
self.startup()

self.manager.path_manager.startup()
sleep(1)
self.manager.log_manager = LogManager(self.manager)
sleep(1)
self.manager.log_manager.startup()
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "cyberdrop-dl"
version = "5.0.55"
version = "5.0.56"
description = "Bulk downloader for multiple file hosts"
authors = ["Jules Winnfield <[email protected]>"]
readme = "README.md"
Expand Down

0 comments on commit fb776bd

Please sign in to comment.