Skip to content

Commit

Permalink
Format
Browse files Browse the repository at this point in the history
  • Loading branch information
Willy-JL committed Aug 4, 2024
1 parent 45e8595 commit 8498c62
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions indexer/src/directories.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ async def directory_request(directory):
return JSONResponse(f"{directory} not found!", status_code=404)
return indexes.get(directory).index


@router.get(
"/{directory}/{channel}/{target}/{file_type}",
response_class=RedirectResponse,
Expand Down
2 changes: 1 addition & 1 deletion indexer/src/parsers.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def add_files_to_version(
if version.version in version.changelog:
pos = version.changelog.find(version.version)
pos = version.changelog.rfind("\n", 0, pos)
version.changelog = version.changelog[pos+1:]
version.changelog = version.changelog[pos + 1 :]
elif latest_version not in cur:
continue
version.add_file(
Expand Down

0 comments on commit 8498c62

Please sign in to comment.