fixed incorrect logger import and fixed communicator not shutting down
parent
1c8f8a6632
commit
bf2290ab26
|
@ -20,7 +20,7 @@
|
|||
import flask
|
||||
from flask import request, Response, abort
|
||||
from multiprocessing import Process
|
||||
import configparser, sys, random, threading, hmac, hashlib, base64, time, math, gnupg, os, logging
|
||||
import configparser, sys, random, threading, hmac, hashlib, base64, time, math, gnupg, os, logger
|
||||
|
||||
from core import Core
|
||||
import onionrutils
|
||||
|
|
|
@ -138,8 +138,7 @@ class Onionr:
|
|||
self.onionrUtils.localCommand('shutdown')
|
||||
except requests.exceptions.ConnectionError:
|
||||
pass
|
||||
else:
|
||||
self.onionrCore.daemonQueueAdd('shutdown')
|
||||
self.onionrCore.daemonQueueAdd('shutdown')
|
||||
return
|
||||
def showStats(self):
|
||||
'''Display statistics and exit'''
|
||||
|
|
Loading…
Reference in New Issue