Fix merged test regressions

This commit is contained in:
pewdiepie-archdaemon
2026-07-01 11:12:55 +00:00
parent a07bbeccf5
commit 2918739489
10 changed files with 24 additions and 9 deletions
+1 -1
View File
@@ -17,7 +17,7 @@ SRC = Path(__file__).resolve().parent.parent / "static/js/fileHandler.js"
def _upload_pending_body() -> str:
text = SRC.read_text(encoding="utf-8")
start = text.index("export async function uploadPending()")
start = text.index("export async function uploadPending(")
rest = text[start:]
m = re.search(r"\n(export |function )", rest[1:])
return rest[: m.start() + 1] if m else rest