Fixed typo

This commit is contained in:
Simon
2018-07-19 16:20:07 -04:00
parent e533bc9825
commit c6826734c3
3 changed files with 7 additions and 7 deletions

View File

@@ -148,7 +148,7 @@ def create_format(cursor, **kwargs):
def create_chapter(cursor, video_id, start_time, end_time, title):
cursor.execute('INSERT INTO chatper (start_time, end_time, title, video_id) VALUES (%s,%s,%s,%s) '
cursor.execute('INSERT INTO chapter (start_time, end_time, title, video_id) VALUES (%s,%s,%s,%s) '
'ON CONFLICT DO NOTHING',
(start_time, end_time, title, video_id))
print("Created chapter for " + video_id)