mirror of
https://github.com/believethehype/nostrdvm.git
synced 2025-11-28 08:16:36 +01:00
correct shutown
This commit is contained in:
4
bot.py
4
bot.py
@@ -395,8 +395,8 @@ class Bot:
|
||||
time.sleep(1.0)
|
||||
except KeyboardInterrupt:
|
||||
print('Stay weird!')
|
||||
os.kill(os.getpid(), signal.SIGKILL)
|
||||
exit(1)
|
||||
os.kill(os.getpid(), signal.SIGTERM)
|
||||
|
||||
|
||||
def run(self):
|
||||
bot = Bot
|
||||
|
||||
Reference in New Issue
Block a user