# -*- coding: utf-8 -*-
from django import template


register = template.Library()

@register.filter
def ofKey(value, arg):
    if value:
        return value.get(arg)
    return ""

# -*- coding: utf-8 -*-
from django import template


register = template.Library()


@register.filter
def ofKey(value, arg):
    if value:
        return value.get(arg)
    return ""

fix pep8 on menu tags: E302 expected 2 blank lines, found 1