Fixed exception on non-unity systems

I've fixed LightreadWindow.py which caused an exception during sync on systems without Unity