replace except with except Exception

This commit is contained in:
2023-07-16 16:58:34 -04:00
parent 343fe4357c
commit 14a315a673
14 changed files with 33 additions and 30 deletions

View File

@ -123,5 +123,5 @@ class CxbReader(BaseReader):
genre,
int(row["easy"].replace("Easy ", "").replace("N/A", "0")),
)
except:
except Exception:
self.logger.warn(f"Couldn't read csv file in {self.bin_dir}, skipping")