Fixed unwrap cursor for make it work with DDT. Fixed #181

This commit is contained in:
Syrus Akbary 2016-05-31 21:15:10 -07:00
parent b9695c877a
commit 7df1f8a88d

View File

@ -47,8 +47,9 @@ def wrap_cursor(connection, panel):
def unwrap_cursor(connection):
if hasattr(connection, '_graphene_cursor'):
previous_cursor = connection._graphene_cursor
connection.cursor = previous_cursor
del connection._graphene_cursor
del connection.cursor
class ExceptionCursorWrapper(object):