1
0
Fork 0
mirror of https://github.com/qurator-spk/modstool.git synced 2025-06-26 12:09:55 +02:00

🎨 Remove unused var + use 'not in'

This commit is contained in:
Mike Gerber 2025-06-13 19:35:48 +02:00
parent 003c8d77b9
commit 01c1762d32
2 changed files with 2 additions and 2 deletions

View file

@ -601,7 +601,7 @@ def process(mets_files: list[str], output_file: str, output_page_info: str):
# noinspection PyTypeChecker
for caught_warning in caught_warnings:
csvwriter.writerow([mets_file, caught_warning.message])
except Exception as e:
except Exception:
logger.exception("Exception in {}".format(mets_file))
logger.info("Writing DataFrame to {}".format(output_file))