Skip to content

Commit

Permalink
Fix code
Browse files Browse the repository at this point in the history
  • Loading branch information
janheinrichmerker committed Nov 19, 2023
1 parent 668fb0e commit e311824
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion archive_query_log/parsers/url_offset.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ def _parse_url_offset(parser: UrlOffsetParser, url: str) -> int | None:
offset_string = offset_string.strip()
try:
offset = int(offset_string)
except ValueError as e:
except ValueError:
warn(RuntimeWarning(
f"Could not parse offset '{offset_string}' in URL: {url}"))
return None
Expand Down

0 comments on commit e311824

Please sign in to comment.