Fix invoking add_argument from homeserver.py

This commit is contained in:
Erik Johnston 2019-07-15 14:25:05 +01:00
parent eca4f5ac73
commit 03cc8c4b5d

View File

@ -468,7 +468,7 @@ class Config(object):
formatter_class=argparse.RawDescriptionHelpFormatter, formatter_class=argparse.RawDescriptionHelpFormatter,
) )
obj.invoke_all("add_arguments", parser) obj.invoke_all_static("add_arguments", parser)
args = parser.parse_args(remaining_args) args = parser.parse_args(remaining_args)
config_dict = read_config_files(config_files) config_dict = read_config_files(config_files)