mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-06 14:55:07 +01:00
pycodestyle
This commit is contained in:
parent
87a18eae2d
commit
4c6a02aee7
1 changed files with 2 additions and 2 deletions
|
|
@ -40,8 +40,8 @@ def load_classifier():
|
|||
except (EOFError, IncompatibleClassifierVersionError) as e:
|
||||
# there's something wrong with the model file.
|
||||
logger.error(
|
||||
f"Unrecoverable error while loading document classification model: "
|
||||
f"{str(e)}, deleting model file."
|
||||
f"Unrecoverable error while loading document "
|
||||
f"classification model: {str(e)}, deleting model file."
|
||||
)
|
||||
os.unlink(settings.MODEL_FILE)
|
||||
classifier = None
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue