mirror of
https://gitea.phreedom.club/localhost_frssoft/FMN_bot.git
synced 2024-12-23 20:29:48 +00:00
Fix ValueError
This commit is contained in:
parent
c72da590f0
commit
db8a80cfb0
@ -65,7 +65,7 @@ def get_winner_movie(poll_status_id=str):
|
|||||||
movie = winned_movies[0]
|
movie = winned_movies[0]
|
||||||
mark_as_watched_movie(movie[1], movie[2], movie[3])
|
mark_as_watched_movie(movie[1], movie[2], movie[3])
|
||||||
|
|
||||||
acct_suggested, orig_name, ru_name, year = movie
|
acct_suggested, orig_name, ru_name, year, votes_count_win = movie
|
||||||
win_variant = f"{ru_name} / {orig_name}, {year}"
|
win_variant = f"{ru_name} / {orig_name}, {year}"
|
||||||
if ru_name is None:
|
if ru_name is None:
|
||||||
win_variant = f"{orig_name}, {year}"
|
win_variant = f"{orig_name}, {year}"
|
||||||
|
Loading…
Reference in New Issue
Block a user