Update config_loader.py

This commit is contained in:
Yige XU 2018-07-27 17:06:49 +08:00 committed by GitHub
parent c83008add9
commit aaac041fc3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -24,7 +24,7 @@ class ConfigLoader(BaseLoader):
Example:
test_args = ConfigSection()
ConfigLoader("config.cfg", "").load_config("./data_for_tests/config", {"POS_test": test_args})
:return:
:return: return nothing, but the value of attributes are saved in sessions
"""
assert isinstance(sections, dict)
cfg = configparser.ConfigParser()