tab separate kekatsu feed

This commit is contained in:
Georges-Antoine Assi
2025-11-12 23:00:17 -05:00
parent c75e22190b
commit 883843f8d0
2 changed files with 11 additions and 11 deletions

View File

@@ -7,7 +7,7 @@ cli:
plugins:
sources:
- id: trunk
ref: v1.7.3
ref: v1.7.4
uri: https://github.com/trunk-io/plugins
# Many linters and tools depend on runtimes - configure them here. (https://docs.trunk.io/runtimes)
runtimes:
@@ -25,25 +25,25 @@ lint:
- dotenv-linter@3.3.0
- hadolint@2.14.0
- markdownlint@0.45.0
- eslint@9.38.0
- eslint@9.39.1
- actionlint@1.7.8
- bandit@1.8.6
- black@25.9.0
- checkov@3.2.488
- black@25.11.0
- checkov@3.2.492
- git-diff-check
- isort@7.0.0
- mypy@1.18.2
- osv-scanner@2.2.3
- osv-scanner@2.2.4
- prettier@3.6.2:
packages:
- "@trivago/prettier-plugin-sort-imports@5.2.2"
- "@vue/compiler-sfc@3.5.22"
- ruff@0.14.2
- "@trivago/prettier-plugin-sort-imports@6.0.0"
- "@vue/compiler-sfc@3.5.24"
- ruff@0.14.4
- shellcheck@0.11.0
- shfmt@3.6.0
- taplo@0.10.0
- trivy@0.67.2
- trufflehog@3.90.12
- trufflehog@3.90.13
- yamllint@1.37.1
ignore:
- linters: [ALL]

View File

@@ -502,7 +502,7 @@ def kekatsu_ds_feed(request: Request, platform_slug: str) -> Response:
txt_lines = []
txt_lines.append("1") # Database version
txt_lines.append(",")
txt_lines.append(" ")
for rom in roms:
download_url = generate_rom_download_url(request, rom)
@@ -528,7 +528,7 @@ def kekatsu_ds_feed(request: Request, platform_slug: str) -> Response:
)
# Format: title,platform,region,version,author,download_url,filename,size,box_art_url
txt_line = f'"{kekatsu_item.title}",{kekatsu_item.platform},{kekatsu_item.region},{kekatsu_item.version},{kekatsu_item.author},"{kekatsu_item.download_url}","{kekatsu_item.filename}",{kekatsu_item.size},"{kekatsu_item.box_art_url}"'
txt_line = f'"{kekatsu_item.title}" {kekatsu_item.platform} {kekatsu_item.region} {kekatsu_item.version} {kekatsu_item.author} "{kekatsu_item.download_url}" "{kekatsu_item.filename}" {kekatsu_item.size} "{kekatsu_item.box_art_url}"'
txt_lines.append(txt_line)
txt_content = "\n".join(txt_lines)