skodaconnect / myskoda

Python library for interacting with MySkoda APIs.
MIT License
9 stars 22 forks source link

WindowsSelectorEventLoopPolicy to global scope #117

Closed OBerghmans closed 1 month ago

OBerghmans commented 1 month ago

Move event loop policy check to global scope to initalize at very startup.

It seems that the event loop policy was set too late, or at least for me. Moving it to the global scope did the trick.

Fixes #116