Oops, got the boolean backwards :P
authorChristopher Allan Webber <cwebber@dustycloud.org>
Sun, 30 Nov 2014 19:49:01 +0000 (13:49 -0600)
committerChristopher Allan Webber <cwebber@dustycloud.org>
Wed, 3 Dec 2014 21:40:57 +0000 (15:40 -0600)
mediagoblin/db/open.py

index 3f86319058db2bf6c1b3a013ea133ee8bb321cff..4b4dfa12089c20422c79d79e9c9b3d73a6e46fa0 100644 (file)
@@ -28,7 +28,7 @@ _log = logging.getLogger(__name__)
 
 from mediagoblin.tools.transition import DISABLE_GLOBALS
 
-if DISABLE_GLOBALS:
+if not DISABLE_GLOBALS:
     from mediagoblin.db.base import Session
 
     class DatabaseMaster(object):