From d1f9911fd417e6140dd6d437ad1a2c454cfece8a Mon Sep 17 00:00:00 2001 From: Kevin Froman Date: Tue, 26 Nov 2019 18:36:50 -0600 Subject: [PATCH] when resetting plugins, dont copy until onionr is ran again --- src/onionrcommands/resetplugins.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/onionrcommands/resetplugins.py b/src/onionrcommands/resetplugins.py index c7ebe192..202b1ae7 100644 --- a/src/onionrcommands/resetplugins.py +++ b/src/onionrcommands/resetplugins.py @@ -30,8 +30,7 @@ def reset(): plugin_dir = home + '/plugins/' if not os.path.exists(home): return if os.path.exists(plugin_dir): shutil.rmtree(plugin_dir) - - setup_default_plugins() + logger.info('Default plugins have been reset.', terminal=True) reset.onionr_help = "reinstalls default Onionr plugins (e.g. mail). Should be done after git pulls or plugin modification."