scamp.settings.restore_all_factory_defaults

scamp.settings.restore_all_factory_defaults(persist: bool = False) None[source]

Restores all settings back to their “factory defaults” (the defaults when SCAMP was installed). Unless the persist argument is set, this is temporary to the running of the current script.

Parameters:

persist – if True, rewrites the JSON files from which defaults are loaded, meaning that this reset will persist to the running of scripts in the future.