Settings: Rename loadFrom -> load_from

This commit is contained in:
Athanasius committed 2022-08-18 15:18:53 +01:00
1 parent 3a55f6b005
commit 060645a8dc
1 file changed
+2 -2
+2 -2
View File
@@ -156,9 +156,9 @@ def load_config(cl_args) -> None:
Load in a commandline-specified settings file, if applicable.
A convenience method if you don't need other things specified as commandline
options. Otherwise, point the filename to Settings.loadFrom().
options. Otherwise, point the filename to Settings.load_from().
:param cl_args: An `argparse.parse_args()` return.
"""
if cl_args.config:
Settings.loadFrom(cl_args.config)
Settings.load_from(cl_args.config)