Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
IsaacCheng9 committed Oct 5, 2023
2 parents 617dc53 + 01f0bd7 commit bbc52ab
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@


class Migration(migrations.Migration):

initial = True

dependencies = []
Expand Down
5 changes: 3 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
email_validator==1.1.3
Flask==2.0.2
Flask==2.3.2
Flask_SocketIO==5.1.1
Pillow==9.0.1
Werkzeug==2.0.2
Werkzeug==2.2.3
Pillow==9.3.0
bcrypt==3.2.0
pytest==6.2.5
pytest-steps==1.8.0
Expand Down
1 change: 0 additions & 1 deletion src/student_network/helpers/helper_quizzes.py
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,6 @@ def validate_quiz(
def make_quiz(
quiz_name: str, questions: list, answers: list, author: str, date_created: date
):

valid, message = validate_quiz(quiz_name, questions, answers)
print(valid, message, quiz_name, questions, answers)
if valid:
Expand Down
2 changes: 0 additions & 2 deletions src/student_network/views/chat.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@

@chat_blueprint.route("/chat")
def chat():

chat_rooms = helper_general.get_rooms()

return render_template(
Expand All @@ -34,7 +33,6 @@ def chat():

@chat_blueprint.route("/chat/<username>")
def chat_username(username):

chat_rooms = helper_general.get_rooms()

messages = helper_general.get_messages(username)[0]
Expand Down
1 change: 0 additions & 1 deletion src/student_network/views/profile.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,6 @@ def profile(username: str) -> object:

# If the user is logged in, specific features can then be displayed.
if session.get("username"):

if username == session["username"]:
# Gets the user's posts regardless of post settings if user is the
# owner of the profile.
Expand Down

0 comments on commit bbc52ab

Please sign in to comment.