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: