Bugfix for 267fa4b when tool tags are enabled.

Thanks to JJ for the bug report - apparently at least one person has tool tags enabled :).
This commit is contained in:
John Chilton
2014-12-29 14:25:12 -05:00
parent 99963f38c1
commit 12bcd0ec33
+1 -1
View File
@@ -44,7 +44,7 @@ class PersistentToolTagManager( AbstractToolTagManager ):
def __init__( self, app ):
self.app = app
self.sa_session = app.sa_session
self.sa_session = app.model.context
def reset_tags( self ):
log.info("removing all tool tag associations (" + str( self.sa_session.query( self.app.model.ToolTagAssociation ).count() ) + ")" )