Skip to content

Commit

Permalink
BF: #3127
Browse files Browse the repository at this point in the history
Only tested on windows 10.
  • Loading branch information
isolver committed Sep 12, 2020
1 parent efcd18f commit 5451ea4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions psychopy/iohub/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -225,10 +225,10 @@ def handleExperimentDeviceRequest(self, request, replyTo):
return True
elif request_type == 'DEV_RPC':
dclass = request.pop(0)
if isinstance(dclass, unicode):
if not isinstance(dclass, unicode):
dclass = unicode(dclass, 'utf-8')
dmethod = request.pop(0)
if isinstance(dmethod, unicode):
if not isinstance(dmethod, unicode):
dmethod = unicode(dmethod, 'utf-8')
args = None
kwargs = None
Expand Down

0 comments on commit 5451ea4

Please sign in to comment.