mirror of
https://github.com/OCA/knowledge.git
synced 2025-07-16 04:02:56 -06:00
[FIX] linting after update dotfiles
This commit is contained in:
parent
51d280c3b9
commit
49e38ce17d
@ -27,7 +27,8 @@ class IrAttachmentActionDownloadMixin(models.AbstractModel):
|
|||||||
"""Return action to:
|
"""Return action to:
|
||||||
* emit a warning message if no attachment found
|
* emit a warning message if no attachment found
|
||||||
* download a file if only 1 file 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()
|
attachments = self._get_downloadable_attachments()
|
||||||
if not attachments:
|
if not attachments:
|
||||||
|
Loading…
Reference in New Issue
Block a user