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

View File

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