update writing to logs

This commit is contained in:
Jeniamakarchik
2020-04-06 15:40:14 +03:00
parent dab9485e20
commit 4704ab29ab
2 changed files with 3 additions and 1 deletions

View File

@@ -118,6 +118,7 @@ class Book:
Method for getting and saving book from queue.
"""
try:
self.log(f'Start receiving file from server. URL: {self.access.url}/doc-convert/{self.book_id}/file')
content = self.access.get_doc(self.book_id)
self.log('File was received from server.')
self.save_docx(content)