From 2f4651d036658d3ecdff65581c0c7278eca4d5af Mon Sep 17 00:00:00 2001 From: mathieui Date: Sun, 27 Oct 2019 14:47:39 +0100 Subject: Make global objects not Optional This reflects reality, despite the default values of the code. We still need a better solution (singleton?). --- poezio/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'poezio/config.py') diff --git a/poezio/config.py b/poezio/config.py index f2160a86..f8fcfd00 100644 --- a/poezio/config.py +++ b/poezio/config.py @@ -679,7 +679,7 @@ LOGGING_CONFIG = { firstrun = False # Global config object. Is setup in poezio.py -config = None # type: Optional[Config] +config = None # type: Config # The logger object for this module log = None # type: Optional[logging.Logger] -- cgit v1.2.3