Onionr/onionr/utils/hastor.py

4 lines
86 B
Python

import netcontroller
def has_tor():
return netcontroller.tor_binary() is not None