[~] Refactor
This commit is contained in:
parent
d7b8c2f974
commit
7775cdc6a2
@ -22,6 +22,10 @@ import time
|
||||
import traceback
|
||||
|
||||
|
||||
logger = logging.getLogger(__name__)
|
||||
logger.setLevel(logigng.INFO)
|
||||
|
||||
|
||||
def custom_notify(
|
||||
title=None,
|
||||
msg=None,
|
||||
@ -1141,7 +1145,7 @@ def http_server(argv):
|
||||
else:
|
||||
path = options.token
|
||||
|
||||
print(
|
||||
logger.info(
|
||||
'access url is http://%s:%d/%s/' % (
|
||||
options.host,
|
||||
options.port,
|
||||
|
Loading…
Reference in New Issue
Block a user