From dcc304be9d388149d9e935ceb33992df08c74fda Mon Sep 17 00:00:00 2001 From: Kevin Froman Date: Wed, 2 Dec 2020 23:00:51 -0600 Subject: [PATCH] fix wsl apport breaking sitecreator --- src/bigbrother/ministry/ofexec.py | 3 ++- src/onionrcommands/sitecreator.py | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/bigbrother/ministry/ofexec.py b/src/bigbrother/ministry/ofexec.py index b1ff5843..e1afbb0e 100644 --- a/src/bigbrother/ministry/ofexec.py +++ b/src/bigbrother/ministry/ofexec.py @@ -54,7 +54,8 @@ def block_exec(event, info): 'stem/response/getinfo.py', 'stem/response/getconf.py', 'stem/response/mapaddress.py', - 'stem/response/protocolinfo.py' + 'stem/response/protocolinfo.py', + 'apport/__init__.py' ] whitelisted_source = [] home = identifyhome.identify_home() diff --git a/src/onionrcommands/sitecreator.py b/src/onionrcommands/sitecreator.py index ac2033ee..29733105 100644 --- a/src/onionrcommands/sitecreator.py +++ b/src/onionrcommands/sitecreator.py @@ -55,7 +55,7 @@ If you want to update your site later you must remember the passphrase.''', if error_encountered: sys.exit(1) - + logger.info('Generating site...', terminal=True) results = onionrsitesapi.sitefiles.create_site( passphrase, directory=directory) results = (results[0].replace('=', ''), results[1])