fix debug command
This commit is contained in:
parent
b011360814
commit
73f46abc13
1 changed files with 0 additions and 2 deletions
|
@ -14,9 +14,7 @@ def run_command(found, u, command):
|
||||||
reactor.callLater(0, reactor.stop)
|
reactor.callLater(0, reactor.stop)
|
||||||
return
|
return
|
||||||
if command == "debug_device":
|
if command == "debug_device":
|
||||||
external_ip = yield u.get_external_ip()
|
|
||||||
print(u.get_debug_info())
|
print(u.get_debug_info())
|
||||||
print("external ip: ", external_ip)
|
|
||||||
if command == "list_mappings":
|
if command == "list_mappings":
|
||||||
redirects = yield u.get_redirects()
|
redirects = yield u.get_redirects()
|
||||||
print("found {} redirects".format(len(redirects)))
|
print("found {} redirects".format(len(redirects)))
|
||||||
|
|
Loading…
Reference in a new issue