Skip to content

Commit

Permalink
fix: Video intro info ID semantics
Browse files Browse the repository at this point in the history
  • Loading branch information
noahpistilli committed Jul 6, 2024
1 parent b0d31f8 commit 6b0cc95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion theunderground/intro_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def add_intro_info():

# Wii Room requires video content id's to be 16 characters long.
if intro_db.cnt_type == ContentTypes.Video:
intro_db.cnt_id = 1000000000000000 + intro_db.cnt_id
intro_db.cnt_id = int(str(intro_db.cnt_id).ljust(16, "0"))
db.session.add(intro_db)
db.session.commit()

Expand Down

0 comments on commit 6b0cc95

Please sign in to comment.