Fix span wrapper processing

This commit is contained in:
Kibzik
2023-03-15 20:00:32 +03:00
parent b5ad043335
commit 047bfeca20
7 changed files with 82 additions and 75 deletions

View File

@@ -33,7 +33,7 @@ class BookSolver:
self.status_wrapper = BookStatusWrapper(
access, self.book_logger, book_id)
assert LiveCartaConfig.SUPPORTED_LEVELS == len(LiveCartaConfig.SUPPORTED_HEADERS), \
assert LiveCartaConfig.NUM_SUPPORTED_LEVELS == len(LiveCartaConfig.SUPPORTED_HEADER_TAGS), \
"Length of headers doesn't match allowed levels."
def save_file(self, content: bytes, path_to_save: str, file_type: str) -> str: