From eb9e6df32ed696158bf34dba6464277b648f5c74 Mon Sep 17 00:00:00 2001 From: Scott Gasch Date: Sun, 31 Oct 2021 13:08:51 -0700 Subject: Ugh, a bunch of things. @overrides. --lmodule. Chromecasts. etc... --- config.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'config.py') diff --git a/config.py b/config.py index b6262ad..ea5f68a 100644 --- a/config.py +++ b/config.py @@ -96,11 +96,13 @@ args = argparse.ArgumentParser( # than once. config_parse_called = False + # A global configuration dictionary that will contain parsed arguments. # It is also this variable that modules use to access parsed arguments. # This is the data that is most interesting to our callers; it will hold # the configuration result. -config: Dict[str, Any] = {} +config = {} +# It would be really nice if this shit worked from interactive python def add_commandline_args(title: str, description: str = ""): -- cgit v1.3