We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 691f916 commit ac44377Copy full SHA for ac44377
bot.py
@@ -46,11 +46,11 @@
46
if not os.path.exists(temp_dir):
47
os.mkdir(temp_dir)
48
49
-if sys.platform == 'win32':
+if sys.platform == "win32":
50
try:
51
asyncio.set_event_loop_policy(asyncio.WindowsProactorEventLoopPolicy())
52
except AttributeError:
53
- logger.error('Failed to use WindowsProactorEventLoopPolicy.', exc_info=True)
+ logger.error("Failed to use WindowsProactorEventLoopPolicy.", exc_info=True)
54
55
56
class ModmailBot(commands.Bot):
0 commit comments