Closed e1ty closed 9 years ago
Use the "_ callback" to support the old version of the plugin bottle! https://github.com/bottlepy/bottle-redis/blob/master/bottle_redis.py#L32
If you call _callback
you call initial function, so other plugins won't work.
Plugins wrapp initial function at https://github.com/bottlepy/bottle/blob/master/bottle.py#L530 or in 0.9ver https://github.com/bottlepy/bottle/blob/release-0.9/bottle.py#L531
So when bottle_redis is wrapping callback function, it returns initial function
You can write a test covering this error?
callback
- wrapped with plugins function_callback
- initial function