fixed incorrect logger import and fixed communicator not shutting down

This commit is contained in:
Kevin Froman 2018-01-26 19:24:38 -06:00
parent 1c8f8a6632
commit bf2290ab26
No known key found for this signature in database
GPG Key ID: 0D414D0FE405B63B
2 changed files with 2 additions and 3 deletions

View File

@ -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

View File

@ -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'''