when resetting plugins, dont copy until onionr is ran again

This commit is contained in:
Kevin Froman 2019-11-26 18:36:50 -06:00
parent ee5f4409af
commit d1f9911fd4
1 changed files with 1 additions and 2 deletions

View File

@ -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."