Commits

qalthos committed 4cd2732

Modify decorators.py so it doesn't confuse tg2

  • Participants
  • Parent commits 50b3434

Comments (0)

Files changed (1)

tgext/mobilemiddleware/decorators.py

                 override_mapping = request._override_mapping
             except:
                 override_mapping = request._override_mapping = {}
-            override_mapping[self.func] = {self.content_type:(self.engine, self.template, [])}
+            override_mapping[self.func] = {self.content_type:(self.engine, self.template, [], {})}
 
     def __call__(self, func):
         self.func = func