mirror of
https://github.com/OCA/knowledge.git
synced 2025-07-23 04:22:04 -06:00
[FIX] pep8
This commit is contained in:
parent
38f704666a
commit
7a7c7d6274
@ -34,7 +34,7 @@ Acknowledgements
|
||||
|
||||
Addon icon courtesy of http://commons.wikimedia.org/wiki/Crystal_Clear
|
||||
""",
|
||||
"category" : "Knowledge Management",
|
||||
"category": "Knowledge Management",
|
||||
"depends": [
|
||||
'web'
|
||||
],
|
||||
|
@ -37,7 +37,7 @@ class IrAttachment(Model):
|
||||
filename, extension = os.path.splitext(this.datas_fname)
|
||||
extension = extension.lstrip('.')
|
||||
if not extension:
|
||||
#TODO: lookup the extension via mimetype
|
||||
# TODO: lookup the extension via mimetype
|
||||
pass
|
||||
result[this.id] = extension
|
||||
return result if isinstance(ids, collections.Iterable) else result[ids]
|
||||
|
Loading…
Reference in New Issue
Block a user