summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--poezio/config.py2
-rw-r--r--poezio/logger.py2
2 files changed, 2 insertions, 2 deletions
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]
diff --git a/poezio/logger.py b/poezio/logger.py
index da68a3a4..14882f00 100644
--- a/poezio/logger.py
+++ b/poezio/logger.py
@@ -306,4 +306,4 @@ def create_logger() -> None:
logger = Logger()
-logger = None # type: Optional[Logger]
+logger = None # type: Logger