From 4bd67e4c32959c4bf239a10981ff2754a03a5b70 Mon Sep 17 00:00:00 2001 From: Marcel Hellkamp Date: Sat, 3 Oct 2020 17:05:49 +0200 Subject: [PATCH] Formatting --- bottle_sqlite.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bottle_sqlite.py b/bottle_sqlite.py index 9a29c1a..ccd2c33 100755 --- a/bottle_sqlite.py +++ b/bottle_sqlite.py @@ -59,8 +59,8 @@ class SQLitePlugin(object): unicode = str def __init__(self, dbfile=':memory:', autocommit=True, dictrows=True, - keyword='db', text_factory=unicode, - functions=None, aggregates=None, collations=None, extensions=()): + keyword='db', text_factory=unicode, functions=None, + aggregates=None, collations=None, extensions=None): self.dbfile = dbfile self.autocommit = autocommit self.dictrows = dictrows @@ -69,7 +69,7 @@ class SQLitePlugin(object): self.functions = functions or {} self.aggregates = aggregates or {} self.collations = collations or {} - self.extensions = extensions + self.extensions = extensions or () def setup(self, app): ''' Make sure that other installed plugins don't affect the same