work on the ability to attach to existing Tor
This commit is contained in:
parent
8bf1389a48
commit
ea47ae456b
8 changed files with 68 additions and 18 deletions
|
@ -22,10 +22,14 @@ from . import identifyhome
|
|||
import filepaths
|
||||
home = identifyhome.identify_home()
|
||||
|
||||
|
||||
def create_dirs():
|
||||
"""Creates onionr data-related directories in order of the hardcoded list below,
|
||||
"""Create onionr data-related directories in
|
||||
order of the hardcoded list below,
|
||||
then trigger creation of DBs"""
|
||||
gen_dirs = [home, filepaths.block_data_location, filepaths.contacts_location, filepaths.export_location]
|
||||
gen_dirs = [home, filepaths.block_data_location,
|
||||
filepaths.contacts_location, filepaths.export_location,
|
||||
filepaths.tor_hs_loc]
|
||||
for path in gen_dirs:
|
||||
if not os.path.exists(path):
|
||||
os.mkdir(path)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue