Formatting

This commit is contained in:
Marcel Hellkamp 2020-10-03 17:05:49 +02:00
parent a7bba33527
commit 4bd67e4c32

View File

@ -59,8 +59,8 @@ class SQLitePlugin(object):
unicode = str unicode = str
def __init__(self, dbfile=':memory:', autocommit=True, dictrows=True, def __init__(self, dbfile=':memory:', autocommit=True, dictrows=True,
keyword='db', text_factory=unicode, keyword='db', text_factory=unicode, functions=None,
functions=None, aggregates=None, collations=None, extensions=()): aggregates=None, collations=None, extensions=None):
self.dbfile = dbfile self.dbfile = dbfile
self.autocommit = autocommit self.autocommit = autocommit
self.dictrows = dictrows self.dictrows = dictrows
@ -69,7 +69,7 @@ class SQLitePlugin(object):
self.functions = functions or {} self.functions = functions or {}
self.aggregates = aggregates or {} self.aggregates = aggregates or {}
self.collations = collations or {} self.collations = collations or {}
self.extensions = extensions self.extensions = extensions or ()
def setup(self, app): def setup(self, app):
''' Make sure that other installed plugins don't affect the same ''' Make sure that other installed plugins don't affect the same