epub converter: refactor BookStatusWrapper

This commit is contained in:
shirshasa
2021-08-17 19:11:38 +03:00
parent 8714ff829c
commit 4133dd2a29

View File

@@ -7,7 +7,7 @@ class BookLogger:
filemode='w+', logging_level=logging.INFO,
logging_format='%(asctime)s - %(levelname)s - %(message)s'):
"""
Method for Logger configuration. Logger will write in file.
Method for Logger configuration. Logger will write to file.
:param name: name of the Logger.
:param attr_name: name of attribute that will be added to self.
@@ -112,7 +112,7 @@ class LawCartaConfig:
INDENT = '30px'
class BookApiWrapper:
class BookStatusWrapper:
def __init__(self, access, logger_object, book_id=0):
self.access = access
self.logger_object = logger_object