Skip to content
Browse files

Set paramstyle for FirebirdDB, was defaulting to pyformat and broke D…

…B.insert. Kinterbasdb expects qmark.
  • Loading branch information...
1 parent 914ceb7 commit a807b637c64db623130421532c1c04eab7ad54c7 Ben Hanna committed Aug 19, 2012
Showing with 3 additions and 0 deletions.
  1. +3 −0 web/db.py
View
3 web/db.py
@@ -1048,6 +1048,9 @@ def __init__(self, **keywords):
del keywords['pw']
keywords['database'] = keywords['db']
del keywords['db']
+
+ self.paramstyle = db.paramstyle
+
DB.__init__(self, db, keywords)
def delete(self, table, where=None, using=None, vars=None, _test=False):

0 comments on commit a807b63

Please sign in to comment.
Something went wrong with that request. Please try again.