Commit f0d7e3a4 authored by Matt Traudt's avatar Matt Traudt
Browse files

Log about the Tor we started and connected to

Stop saying [broken] all the time. We get it.

GH: closes #140
parent dc8e871c
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -216,7 +216,11 @@ def launch_tor(conf):
    stem.process.launch_tor_with_config(
        torrc, init_msg_handler=log.debug, take_ownership=True)
    # And return a controller to it
    return _init_controller_socket(section['control_socket'])
    cont = _init_controller_socket(section['control_socket'])
    assert is_controller_okay(cont)
    log.info('Started and connected to Tor %s via %s', cont.get_version(),
             section['control_socket'])
    return cont


def get_socks_info(controller):