diff --git a/theunderground/intro_info.py b/theunderground/intro_info.py index ec5a039d..c462eb79 100644 --- a/theunderground/intro_info.py +++ b/theunderground/intro_info.py @@ -54,12 +54,10 @@ def add_intro_info(): db.session.add(intro_db) db.session.commit() - if intro_db.cnt_type == ContentTypes.Video: - # Videos require the ID to be padded to 16 characters. - intro_db.cnt_id = 1000000000000000 + intro_db.cnt_id - db.session.add(intro_db) - db.session.commit() - + # Max size for IDs is 16. + intro_db.cnt_id = 1000000000000000 + intro_db.cnt_id + db.session.add(intro_db) + db.session.commit() update_intro_info_on_s3() # Now encode image/video.