diff options
Diffstat (limited to 'reports/brpt/reports/templatetags/django_templating_sigh.py')
-rw-r--r-- | reports/brpt/reports/templatetags/django_templating_sigh.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/reports/brpt/reports/templatetags/django_templating_sigh.py b/reports/brpt/reports/templatetags/django_templating_sigh.py index 2d5f76e06..35378f444 100644 --- a/reports/brpt/reports/templatetags/django_templating_sigh.py +++ b/reports/brpt/reports/templatetags/django_templating_sigh.py @@ -18,7 +18,10 @@ class SetInteraction(template.Node): def __init__(self, times): self.times = times#do soemthing to select different interaction with host def render(self, context): - context['interaction'] = context['client_interaction_dict'][context['client'].id] + try: + context['interaction'] = context['client_interaction_dict'][context['client'].id] + except:#I don't fully know what the implications of this are. + pass return '' register.tag('set_interaction', set_interaction) |