Skip to content

Commit

Permalink
Set paramstyle for FirebirdDB, was defaulting to pyformat and broke D…
Browse files Browse the repository at this point in the history
…B.insert. Kinterbasdb expects qmark.
  • Loading branch information
Ben Hanna committed Aug 19, 2012
1 parent 914ceb7 commit a807b63
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions web/db.py
Expand Up @@ -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):
Expand Down

0 comments on commit a807b63

Please sign in to comment.