summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--portato/db/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/portato/db/__init__.py b/portato/db/__init__.py
index 2d056ea..f83659c 100644
--- a/portato/db/__init__.py
+++ b/portato/db/__init__.py
@@ -39,7 +39,7 @@ def Database(type):
except ImportError:
warning(_("Cannot load SQLDatabase."))
_TYPE = "dict"
- return Database()
+ return Database(type)
else:
return SQLDatabase(SectionDict(_SESSION, "SQL"))
td> 2017-03-11Minor fixesRené 'Necoro' Neumann1-3/+3 2017-03-11Remove peewee import to allow import on global levelRené 'Necoro' Neumann2-2/+6 2017-03-04Prefixes, Tags, and ImplicationsRené 'Necoro' Neumann2-12/+74 2017-03-04Allow to add implications for tagsRené 'Necoro' Neumann1-12/+30 2017-03-04FixesRené 'Necoro' Neumann1-8/+5 2017-03-04Fix Peewee Model.get() (cf. PR #1202)René 'Necoro' Neumann1-1/+25 2017-03-04Remove "builtin" and "pseudo" columns; use "virtual" insteadRené 'Necoro' Neumann3-10/+4 2017-02-27Inserting DocumentsRené 'Necoro' Neumann4-16/+91 2017-02-26Refined the EnumFieldRené 'Necoro' Neumann2-24/+34 2017-02-26Introduce enum fieldsRené 'Necoro' Neumann1-2/+31 2017-02-26Introduce the closureRené 'Necoro' Neumann2-3/+102 2017-02-26Some repr and str improvements on the modelRené 'Necoro' Neumann1-3/+25 2017-02-26Move logging to extra functionRené 'Necoro' Neumann1-5/+7 2017-02-26Include sqllite closure extension in build processRené 'Necoro' Neumann4-2/+1001 2017-02-26More tag handlingRené 'Necoro' Neumann2-3/+82 2017-02-25More prefix workRené 'Necoro' Neumann3-9/+96 2017-02-25Use Peewee instead of SQLAlchemyRené 'Necoro' Neumann5-121/+96 2016-08-16FixRené 'Necoro' Neumann1-1/+1 2016-08-16Use current setuputils flowRené 'Necoro' Neumann2-0/+17 2016-08-16Basic CLIRené 'Necoro' Neumann3-0/+33 2016-08-15Initial model and sqlalchemy setupRené 'Necoro' Neumann3-0/+104