2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-19 21:45:39 +00:00

PEP fixes

This commit is contained in:
Oliver
2021-08-15 12:06:31 +10:00
parent cef09acd54
commit 8861ffad81
3 changed files with 1 additions and 3 deletions

View File

@ -282,6 +282,7 @@ def primitive_to_javascript(primitive):
# Wrap with quotes
return format_html("'{}'", primitive)
@register.filter
def keyvalue(dict, key):
"""