[FIX] /login route

bzr revid: chs@openerp.com-20120814120335-6lc0u21r0mhd9bl2
This commit is contained in:
Christophe Simonis 2012-08-14 14:03:35 +02:00
parent ff9cbe0673
commit 3e797902fc
1 changed files with 2 additions and 0 deletions

View File

@ -568,6 +568,8 @@ class Root(object):
_logger.debug("Dispatching to %s %s %s", ps, c, meth)
return m
ps, _slash, meth = ps.rpartition('/')
if not ps and meth:
ps = '/'
return None
class LibException(Exception):