diff options
| -rw-r--r-- | repoze/bfg/zcml.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/repoze/bfg/zcml.py b/repoze/bfg/zcml.py index 77ac4c8fa..2359c86dc 100644 --- a/repoze/bfg/zcml.py +++ b/repoze/bfg/zcml.py @@ -478,14 +478,14 @@ class IStaticDirective(Interface): def static(_context, name, path, cache_max_age=3600): """ Handle ``static`` ZCML directives """ - abspath = _context.path(path) + path = _context.path(path) reg = get_current_registry() config = Configurator(reg) _context.action( discriminator = ('route', name, False, None, None, None, None, None), callable=config.static, - args = (name, abspath, cache_max_age, _context.info), + args = (name, path, cache_max_age, _context.info), ) _context.action( |
