summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NohGooee/Encoder.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/NohGooee/Encoder.py b/NohGooee/Encoder.py
index 394a6ad..efc2789 100644
--- a/NohGooee/Encoder.py
+++ b/NohGooee/Encoder.py
@@ -44,12 +44,12 @@ class InitialConnectionHandler(Handler):
def connection_failed(self, addr, exception):
del self.parent.pending_connections[addr]
-
+
if not self.accept:
- # we don't need to rotate the spares with replace_connection()
+ # we don't need to rotate the spares with replace_connection()
# if the Encoder object has stopped all connections
return
-
+
self.parent.replace_connection()