fix wsl apport breaking sitecreator

master
Kevin Froman 2020-12-02 23:00:51 -06:00
parent eaf61c280a
commit dcc304be9d
2 changed files with 3 additions and 2 deletions

View File

@ -54,7 +54,8 @@ def block_exec(event, info):
'stem/response/getinfo.py', 'stem/response/getinfo.py',
'stem/response/getconf.py', 'stem/response/getconf.py',
'stem/response/mapaddress.py', 'stem/response/mapaddress.py',
'stem/response/protocolinfo.py' 'stem/response/protocolinfo.py',
'apport/__init__.py'
] ]
whitelisted_source = [] whitelisted_source = []
home = identifyhome.identify_home() home = identifyhome.identify_home()

View File

@ -55,7 +55,7 @@ If you want to update your site later you must remember the passphrase.''',
if error_encountered: if error_encountered:
sys.exit(1) sys.exit(1)
logger.info('Generating site...', terminal=True)
results = onionrsitesapi.sitefiles.create_site( results = onionrsitesapi.sitefiles.create_site(
passphrase, directory=directory) passphrase, directory=directory)
results = (results[0].replace('=', ''), results[1]) results = (results[0].replace('=', ''), results[1])