Adding in --mount-point argument, which overrides storage['MOUNT_POINT']
This commit is contained in:
parent
ca52c796a5
commit
1bc4e114fe
|
|
@ -72,6 +72,8 @@ arguments = initialize_arguments()
|
||||||
storage['arguments'] = arguments
|
storage['arguments'] = arguments
|
||||||
if arguments.get('debug'):
|
if arguments.get('debug'):
|
||||||
log(f"Warning: --debug mode will write certain credentials to {storage['LOG_PATH']}/{storage['LOG_FILE']}!", fg="red", level=logging.WARNING)
|
log(f"Warning: --debug mode will write certain credentials to {storage['LOG_PATH']}/{storage['LOG_FILE']}!", fg="red", level=logging.WARNING)
|
||||||
|
if arguments.get('mount-point'):
|
||||||
|
storage['MOUNT_POINT'] = arguments['mount-point']
|
||||||
|
|
||||||
from .lib.plugins import plugins, load_plugin # This initiates the plugin loading ceremony
|
from .lib.plugins import plugins, load_plugin # This initiates the plugin loading ceremony
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue