Skip to content

Commit

Permalink
Fix #38
Browse files Browse the repository at this point in the history
  • Loading branch information
rudyryk committed Sep 18, 2016
1 parent 743b1e9 commit 0465639
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions peewee_async.py
Original file line number Diff line number Diff line change
Expand Up @@ -363,6 +363,8 @@ def _swap_database(self, query):
query.database,
self.database):
can_swap = True
else:
can_swap = False

if can_swap:
# **Experimental** database swapping!
Expand Down

0 comments on commit 0465639

Please sign in to comment.