mirror of
https://github.com/onionshare/onionshare.git
synced 2025-01-27 11:43:01 -03:00
Display tor_data_directory as debug log
This commit is contained in:
parent
d8b873a208
commit
845d7f8564
1 changed files with 1 additions and 0 deletions
|
@ -170,6 +170,7 @@ class Onion(object):
|
|||
group_container_dir = os.path.expanduser('~/Library/Group Containers/com.micahflee.onionshare')
|
||||
os.makedirs(group_container_dir, exist_ok=True)
|
||||
self.tor_data_directory = tempfile.TemporaryDirectory(dir=group_container_dir)
|
||||
self.common.log('Onion', 'connect', 'tor_data_directory={}'.format(self.tor_data_directory))
|
||||
else:
|
||||
self.tor_data_directory = tempfile.TemporaryDirectory()
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue