From b7094c59f3997f0a3fa146e2b3e2119919721ee2 Mon Sep 17 00:00:00 2001 From: Athanasius Date: Tue, 12 Jan 2021 15:55:50 +0000 Subject: [PATCH] config: __in_shutdown needs to be abstract member, not self. ? --- config.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/config.py b/config.py index 9d5f5c17..cd6d9d55 100644 --- a/config.py +++ b/config.py @@ -116,8 +116,9 @@ class AbstractConfig(abc.ABC): identifier: str + __in_shutdown = False # Is the application currently shutting down ? + def __init__(self) -> None: - self.__in_shutdown = False # Is the application currently shutting down ? self.home = pathlib.Path.home() def set_shutdown(self):