mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-07 23:35:22 +01:00
rework most of the logging
This commit is contained in:
parent
0d3ab3aaf7
commit
431d4fd8e4
18 changed files with 80 additions and 71 deletions
|
|
@ -102,6 +102,8 @@ def get_mailbox(server, port, security):
|
|||
|
||||
class MailAccountHandler(LoggingMixin):
|
||||
|
||||
logging_name = "paperless.mail"
|
||||
|
||||
def _correspondent_from_name(self, name):
|
||||
try:
|
||||
return Correspondent.objects.get_or_create(name=name)[0]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue