aboutsummaryrefslogtreecommitdiffstats
path: root/lib/srtgui/widgets.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/srtgui/widgets.py')
-rw-r--r--lib/srtgui/widgets.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/srtgui/widgets.py b/lib/srtgui/widgets.py
index b491a1c4..9415a7a5 100644
--- a/lib/srtgui/widgets.py
+++ b/lib/srtgui/widgets.py
@@ -72,8 +72,8 @@ class ToasterTable(TemplateView):
# prevent HTTP caching of table data
@cache_control(must_revalidate=True,
max_age=0, no_store=True, no_cache=True)
- def dispatch(self, *args, **kwargs):
- return super(ToasterTable, self).dispatch(*args, **kwargs)
+ def dispatch(self, request, *args, **kwargs):
+ return super(ToasterTable, self).dispatch(request, *args, **kwargs)
def get_context_data(self, **kwargs):
context = super(ToasterTable, self).get_context_data(**kwargs)