Windows plaform check pythonic

- moved to .startswith instead of 'in'
- thanks @Lvl4sword
master
Peter Šurda 7 years ago
parent 9683c879bc
commit 51e52401fe
Signed by untrusted user: PeterSurda
GPG Key ID: 0C5F50C0B5F37D87

@ -92,7 +92,7 @@ def connectToStream(streamNumber):
a.start()
def _fixWinsock():
if not ('win32' in sys.platform) and not ('win64' in sys.platform):
if not sys.platform.startswith('win'):
return
# Python 2 on Windows doesn't define a wrapper for

Loading…
Cancel
Save