Add crecellehack, extract some repeated menucolors patterns

This commit is contained in:
2025-10-12 18:29:32 -05:00
parent c8305f60fc
commit 079ab65b68
10 changed files with 1095 additions and 20 deletions

View File

@@ -31,7 +31,7 @@ def upload(rcfile, variant):
get_page = s.get(f"{base_url}/rcedit.php")
csrf_token = pq(get_page.content)('input[name="csrf_token"]').attr("value")
if (len(csrf_token) == 0):
if (csrf_token == None or len(csrf_token) == 0):
print(f"[{variant}] Could not obtain csrf token")
return False