Skip to content

Commit

Permalink
fix for vitaimins
Browse files Browse the repository at this point in the history
  • Loading branch information
KartikKapur committed Feb 3, 2019
1 parent 06bc685 commit e53ba49
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions utils/sql_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,7 @@ def answer_vitamin(self,user_email,course_ok_id,answer,

cur.execute(
'EXECUTE answer_vitamin (%s, %s, %s, %s, %s, %s)',
(user_email, course_ok_id, answer,video_index,
lecture_url_name,vitamin_index)
(user_email, course_ok_id, answer,lecture_url_name,video_index,vitamin_index)
)
self.conn.commit()
cur.close()
Expand Down

0 comments on commit e53ba49

Please sign in to comment.