From 3879472f4d0ef40c558feacf5dcea50a7e6da5ef Mon Sep 17 00:00:00 2001
From: Piotr Roslaniec
Date: Thu, 29 Apr 2021 10:10:56 +0200
Subject: [PATCH] Fix ReactorNotRestartable exception after receiving SIGINT
---
nucypher/characters/lawful.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/nucypher/characters/lawful.py b/nucypher/characters/lawful.py
index ab385998d..53e920da8 100644
--- a/nucypher/characters/lawful.py
+++ b/nucypher/characters/lawful.py
@@ -1354,7 +1354,7 @@ class Ursula(Teacher, Character, Worker):
emitter.message(f"{e.__class__.__name__} {e}", color='red', bold=True)
raise # Crash :-(
- if start_reactor: # ... without hendrix
+ elif start_reactor: # ... without hendrix
reactor.run() # <--- Blocking Call (Reactor)
def stop(self, halt_reactor: bool = False) -> None: