forked from LiveCarta/BookConverter
epub converter: refactor BookStatusWrapper
This commit is contained in:
@@ -7,7 +7,7 @@ class BookLogger:
|
|||||||
filemode='w+', logging_level=logging.INFO,
|
filemode='w+', logging_level=logging.INFO,
|
||||||
logging_format='%(asctime)s - %(levelname)s - %(message)s'):
|
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 name: name of the Logger.
|
||||||
:param attr_name: name of attribute that will be added to self.
|
:param attr_name: name of attribute that will be added to self.
|
||||||
@@ -112,7 +112,7 @@ class LawCartaConfig:
|
|||||||
INDENT = '30px'
|
INDENT = '30px'
|
||||||
|
|
||||||
|
|
||||||
class BookApiWrapper:
|
class BookStatusWrapper:
|
||||||
def __init__(self, access, logger_object, book_id=0):
|
def __init__(self, access, logger_object, book_id=0):
|
||||||
self.access = access
|
self.access = access
|
||||||
self.logger_object = logger_object
|
self.logger_object = logger_object
|
||||||
|
|||||||
Reference in New Issue
Block a user