equal
deleted
inserted
replaced
210 tmpl = self.templater(req) |
210 tmpl = self.templater(req) |
211 if cmd == '': |
211 if cmd == '': |
212 req.form['cmd'] = [tmpl.cache['default']] |
212 req.form['cmd'] = [tmpl.cache['default']] |
213 cmd = req.form['cmd'][0] |
213 cmd = req.form['cmd'][0] |
214 |
214 |
215 if cmd == 'file' and 'raw' in req.form['style']: |
215 if cmd == 'file' and 'raw' in req.form.get('style', []): |
216 webcommands.rawfile(self, req, tmpl) |
216 webcommands.rawfile(self, req, tmpl) |
217 else: |
217 else: |
218 getattr(webcommands, cmd)(self, req, tmpl) |
218 getattr(webcommands, cmd)(self, req, tmpl) |
219 |
219 |
220 del tmpl |
220 del tmpl |