summaryrefslogtreecommitdiffstatshomepage
path: root/src
diff options
context:
space:
mode:
authorWolfgang Müller2024-11-14 16:28:43 +0100
committerWolfgang Müller2024-11-14 16:51:56 +0100
commit15ac18049f56e4a8dd4f4ae81c066901573b62a9 (patch)
tree1bd54c6e74744e22425dc36521070323d312bef5 /src
parent34a759b8044123bbf5d0aa66dedd3b563fe3a014 (diff)
downloadhircine-15ac18049f56e4a8dd4f4ae81c066901573b62a9.tar.gz
backend/lint: Implement pyupgrade suggestions
Diffstat (limited to 'src')
-rw-r--r--src/hircine/scraper/utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hircine/scraper/utils.py b/src/hircine/scraper/utils.py
index d3fa6d6..61c7d14 100644
--- a/src/hircine/scraper/utils.py
+++ b/src/hircine/scraper/utils.py
@@ -52,7 +52,7 @@ def open_archive_file(archive, member, check_sidecar=True): # pragma: no cover
sidecar = f"{archive.path}.{member}"
if os.path.exists(sidecar):
- with open(sidecar, "r") as file:
+ with open(sidecar) as file:
yield file
return