feat: Add authentic JEE/NEET mock tests and fix CBT frontend filtering
This commit is contained in:
11
fix_print.py
Normal file
11
fix_print.py
Normal file
@@ -0,0 +1,11 @@
|
||||
import os
|
||||
|
||||
with open('backend/seed.py', 'r', encoding='utf-8') as f:
|
||||
content = f.read()
|
||||
|
||||
content = content.replace('print(f"JEE Test ID: {jee_test.id}")', 'print(f"JEE Test ID: {jee_test_id}")')
|
||||
content = content.replace('print(f"NEET Test ID: {neet_test.id}")', 'print(f"NEET Test ID: {neet_test_id}")')
|
||||
content = content.replace('print(f"DPS Sheets: {len(dps_json_files)} seeded from admin_uploads/\\n")', 'print("DPS Sheets: seeded from admin_uploads/\\n")')
|
||||
|
||||
with open('backend/seed.py', 'w', encoding='utf-8') as f:
|
||||
f.write(content)
|
||||
Reference in New Issue
Block a user