Spaces:
Sleeping
Sleeping
Update main.py
Browse files
main.py
CHANGED
|
@@ -225,6 +225,8 @@ def verify_mentor():
|
|
| 225 |
return jsonify({"message": "No mentors to verify"}), 404
|
| 226 |
|
| 227 |
with open("mentor.txt", "a") as mentor_file:
|
|
|
|
|
|
|
| 228 |
for mentor_details in mentors:
|
| 229 |
mentor_file.write(mentor_details)
|
| 230 |
|
|
|
|
| 225 |
return jsonify({"message": "No mentors to verify"}), 404
|
| 226 |
|
| 227 |
with open("mentor.txt", "a") as mentor_file:
|
| 228 |
+
mentors_data = mentor_file.read()
|
| 229 |
+
print(mentors_data)
|
| 230 |
for mentor_details in mentors:
|
| 231 |
mentor_file.write(mentor_details)
|
| 232 |
|