From 1053abaf00fe7c324e217abeae95a618217d093d Mon Sep 17 00:00:00 2001 From: A_D Date: Mon, 27 Jul 2020 19:07:54 +0200 Subject: [PATCH] Add TODO regarding type config --- monitor.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/monitor.py b/monitor.py index ac7e8d10..90988dfd 100644 --- a/monitor.py +++ b/monitor.py @@ -122,7 +122,9 @@ class EDLogs(FileSystemEventHandler): if journal_dir is None: journal_dir = '' - + + # TODO(A_D): this is ignored for type checking due to all the different types config.get returns + # When that is refactored, remove the magic comment logdir = expanduser(journal_dir) # type: ignore # config is weird if not logdir or not isdir(logdir):