Set plugin api=2 to make it work with older bottle versions.

This commit is contained in:
Iuri de Silvio 2014-03-29 10:29:40 -03:00
parent d666670c94
commit 9d20d994a7

View File

@ -50,6 +50,7 @@ class SQLitePlugin(object):
settings on a per-route basis. '''
name = 'sqlite'
api = 2
def __init__(self, dbfile=':memory:', autocommit=True, dictrows=True,
keyword='db'):