Skip to content
This repository
Browse code

fixed

  • Loading branch information...
commit 7bbbedad38ca60d86af7c9c6ffdafa21946c1ff6 1 parent 1946438
Atsushi Odagiri authored May 16, 2012

Showing 1 changed file with 1 addition and 0 deletions. Show diff stats Hide diff stats

  1. 1  sqlahelper.py
1  sqlahelper.py
@@ -22,6 +22,7 @@ def _clear(self):
22 22
 def set_default_engine(engine):
23 23
     engines.default = engine
24 24
     bases.default.metadata.bind = engine
  25
+    sessions.default.remove()
25 26
     sessions.default.configure(bind=engine)
26 27
 
27 28
 def reset():

0 notes on commit 7bbbeda

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