onionr/src/utils/hastor.py

4 lines
86 B
Python
Raw Normal View History

2019-07-27 07:29:16 +00:00
import netcontroller
def has_tor():
2019-08-14 01:06:14 +00:00
return netcontroller.tor_binary() is not None