回答編集履歴

1

asyncio のloop の設定方法について、コードが誤っていたので訂正します get_event_loop -> new_event_loop

2020/05/14 14:59

投稿

teamikl
teamikl

スコア8664

test CHANGED
@@ -10,7 +10,7 @@
10
10
 
11
11
  def rp():
12
12
 
13
- RPC = Presence(client_id, pipe=0, loop=asyncio.get_event_loop())
13
+ RPC = Presence(client_id, pipe=0, loop=asyncio.new_event_loop())
14
14
 
15
15
  ```
16
16