@annekoopman, sorry about your issue, however this has been fixed in the new version of PsychoPy. See
Rather than amending your code, I think you would be better off downloading the most recent release of PsychoPy found here.
@annekoopman, sorry about your issue, however this has been fixed in the new version of PsychoPy. See
Rather than amending your code, I think you would be better off downloading the most recent release of PsychoPy found here.