Add abil. to replace value of attributes in presets

This commit is contained in:
Kiryl
2022-09-05 17:19:31 +03:00
parent 7cef389ba4
commit 3fcff462d3
3 changed files with 23 additions and 9 deletions

View File

@@ -14,7 +14,8 @@ from src.docx_converter.docx_solver import DocxBook
from src.epub_converter.epub_solver import EpubBook
def configure_file_logger(name: str, filename: str = "logs/converter.log", filemode: str ="w+", logging_level: int = logging.INFO) -> logging.Logger:
def configure_file_logger(name: str, filename: str = "logs/converter.log",
filemode: str = "w+", logging_level: int = logging.INFO) -> logging.Logger:
logger = logging.getLogger(name)
folder_path = os.path.dirname(os.path.abspath(__file__))