Skip to content


BF: Use correct import of visual.window when shutting down iohub
Browse files Browse the repository at this point in the history
The previous code would throw an exception on Py3.
  • Loading branch information
hoechenberger authored and peircej committed Jan 31, 2019
1 parent 1422fd7 commit 7a7751c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions psychopy/iohub/client/
Expand Up @@ -1238,8 +1238,8 @@ def _getDeviceList(self):
def _shutDownServer(self):
if self._shutdown_attempted is False:
import psychopy
psychopy.visual.window.IOHUB_ACTIVE = False
from psychopy.visual import window
window.IOHUB_ACTIVE = False
except ImportError:

Expand Down

0 comments on commit 7a7751c

Please sign in to comment.