1
0
Fork 0
mirror of https://github.com/myned/modufur.git synced 2024-11-01 21:02:38 +00:00

Merge branch 'dev'

This commit is contained in:
Myned 2018-05-10 18:38:20 -04:00
commit 5892a1eaf0

View file

@ -390,9 +390,11 @@ class MsG:
for future in done:
selection = future.result()
with suppress(err.Forbidden):
await match.delete()
tempool = [pool for pool in pool_request if pool['name']
== pools[int(selection.content) - 1]][0]
with suppress(err.Forbidden):
await selection.delete()
elif pool_request:
tempool = pool_request[0]
@ -638,9 +640,11 @@ class MsG:
for future in done:
selection = future.result()
with suppress(err.Forbidden):
await match.delete()
tempool = [pool for pool in pool_request if pool['name']
== pools[int(selection.content) - 1]][0]
with suppress(err.Forbidden):
await selection.delete()
pool = {'name': tempool['name'], 'id': tempool['id']}