big b oys

This commit is contained in:
2026-01-12 21:59:07 -05:00
parent a69d704284
commit cea321d032
3 changed files with 23 additions and 5 deletions

View File

@@ -74,8 +74,14 @@ def import_data():
# Save uploaded file to temporary location
temp_dir = tempfile.mkdtemp()
temp_path = os.path.join(temp_dir, secure_filename(file.filename))
print(f"Saving uploaded file to: {temp_path}")
file.save(temp_path)
# Verify file was saved
file_size = os.path.getsize(temp_path)
print(f"Saved file size: {file_size} bytes")
# Import from ZIP
result = import_questions_from_zip(temp_path)