From 54bd5f802f0c2b8d3bdd2980073b618b53c3accf Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Mon, 22 Aug 2022 21:19:20 +0100 Subject: [PATCH] Change exception --- person.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/person.py b/person.py index 737e7f2a7..faeeef400 100644 --- a/person.py +++ b/person.py @@ -1208,7 +1208,7 @@ def _remove_tags_for_nickname(base_dir: str, nickname: str, continue try: tag_filename = os.path.join(directory, filename) - except BaseException: + except OSError: print('EX: _remove_tags_for_nickname unable to join ' + str(directory) + ' ' + str(filename)) continue