mirror of
https://github.com/uhIgnacio/EmoteManager.git
synced 2024-08-15 02:23:13 +00:00
lol forgot imports
This commit is contained in:
parent
1d6ad4cfd5
commit
a4e4120a63
1 changed files with 2 additions and 0 deletions
2
bot.py
2
bot.py
|
@ -29,6 +29,8 @@ logger = logging.getLogger(__name__)
|
|||
logger.setLevel(logging.INFO)
|
||||
|
||||
# SelectorEventLoop on windows doesn't support subprocesses lol
|
||||
import asyncio
|
||||
import sys
|
||||
if sys.platform == 'win32':
|
||||
loop = asyncio.ProactorEventLoop()
|
||||
asyncio.set_event_loop(loop)
|
||||
|
|
Loading…
Reference in a new issue