mirror of
https://github.com/simon987/yt-metadata.git
synced 2025-12-16 00:29:05 +00:00
Fixed typo
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user