From fb41f028c94b71b93250cb1b1149803ebc0d0ade Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Wed, 30 Aug 2023 18:58:26 +0100 Subject: [PATCH] read --- utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils.py b/utils.py index a9102bddf..80d69881c 100644 --- a/utils.py +++ b/utils.py @@ -750,7 +750,7 @@ def is_memorial_account(base_dir: str, nickname: str) -> bool: memorial_list = [] try: with open(memorial_file, 'r', encoding='utf-8') as fp_memorial: - memorial_list = fp_memorial.split('\n') + memorial_list = fp_memorial.read().split('\n') except OSError: print('EX: unable to read ' + memorial_file) if nickname in memorial_list: