Set plugin api=2 to make it work with older bottle versions.
This commit is contained in:
parent
d666670c94
commit
9d20d994a7
|
@ -50,6 +50,7 @@ class SQLitePlugin(object):
|
||||||
settings on a per-route basis. '''
|
settings on a per-route basis. '''
|
||||||
|
|
||||||
name = 'sqlite'
|
name = 'sqlite'
|
||||||
|
api = 2
|
||||||
|
|
||||||
def __init__(self, dbfile=':memory:', autocommit=True, dictrows=True,
|
def __init__(self, dbfile=':memory:', autocommit=True, dictrows=True,
|
||||||
keyword='db'):
|
keyword='db'):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user