Errors appearing after update to Windows 10

OS Win10
PsychoPy version - v3.1.5

Experiment was fully working until there was an update to Windows 10 on the computers. No changes have been made to the builder but now the error message ‘AttributeError:‘NoneType’ object has no attribute ‘close’’
Weirdly the experiment still runs on a computer that was already using windows 10 and had no recent update.
Just looking for a possible solution for this - TIA