fixed incorrect logger import and fixed communicator not shutting down
This commit is contained in:
parent
1c8f8a6632
commit
bf2290ab26
@ -20,7 +20,7 @@
|
|||||||
import flask
|
import flask
|
||||||
from flask import request, Response, abort
|
from flask import request, Response, abort
|
||||||
from multiprocessing import Process
|
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
|
from core import Core
|
||||||
import onionrutils
|
import onionrutils
|
||||||
|
@ -138,7 +138,6 @@ class Onionr:
|
|||||||
self.onionrUtils.localCommand('shutdown')
|
self.onionrUtils.localCommand('shutdown')
|
||||||
except requests.exceptions.ConnectionError:
|
except requests.exceptions.ConnectionError:
|
||||||
pass
|
pass
|
||||||
else:
|
|
||||||
self.onionrCore.daemonQueueAdd('shutdown')
|
self.onionrCore.daemonQueueAdd('shutdown')
|
||||||
return
|
return
|
||||||
def showStats(self):
|
def showStats(self):
|
||||||
|
Loading…
Reference in New Issue
Block a user