when resetting plugins, dont copy until onionr is ran again
This commit is contained in:
parent
ee5f4409af
commit
d1f9911fd4
@ -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."
|
||||
|
Loading…
Reference in New Issue
Block a user