[FIX] linting after update dotfiles

This commit is contained in:
Stefan Rijnhart 2024-07-04 13:12:46 +02:00 committed by Víctor Martínez
parent 51d280c3b9
commit 49e38ce17d

View File

@ -27,7 +27,8 @@ class IrAttachmentActionDownloadMixin(models.AbstractModel):
"""Return action to:
* emit a warning message if no attachment found
* download a file if only 1 file found
* zip and download the list of attachment returns by `_get_downloadable_attachments`
* zip and download the list of attachment returns by
`_get_downloadable_attachments`
"""
attachments = self._get_downloadable_attachments()
if not attachments: