Ran black on sources, some minor tweaks

This commit is contained in:
Griatch 2020-02-12 23:07:56 +01:00
parent 5e18dcc562
commit 05f2264eb1
4 changed files with 14 additions and 19 deletions

View file

@ -190,7 +190,6 @@ class Portal(object):
self.sessions.disconnect_all()
if _stop_server:
self.amp_protocol.stop_server(mode="shutdown")
if not _reactor_stopping:
# shutting down the reactor will trigger another signal. We set
# a flag to avoid loops.