replace except with except Exception
This commit is contained in:
1 parent
343fe4357c
commit
14a315a673
14 files changed
+33
-30
No files matched your search
+1
-1
@@ -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")
|
||||
Reference in new issue
Block a user