mirror of
https://github.com/EDCD/EDDN.git
synced 2025-06-18 16:03:02 +03:00
Settings: Rename loadFrom -> load_from
This commit is contained in:
parent
9920bcc222
commit
cbf39735e5
@ -150,9 +150,9 @@ def load_config(cl_args) -> None:
|
|||||||
Load in a commandline-specified settings file, if applicable.
|
Load in a commandline-specified settings file, if applicable.
|
||||||
|
|
||||||
A convenience method if you don't need other things specified as commandline
|
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.
|
:param cl_args: An `argparse.parse_args()` return.
|
||||||
"""
|
"""
|
||||||
if cl_args.config:
|
if cl_args.config:
|
||||||
Settings.loadFrom(cl_args.config)
|
Settings.load_from(cl_args.config)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user