diff --git a/src/FMN.png b/src/FMN.png deleted file mode 100644 index 426979b..0000000 Binary files a/src/FMN.png and /dev/null differ diff --git a/src/FMN.webp b/src/FMN.webp new file mode 100644 index 0000000..d6894d9 Binary files /dev/null and b/src/FMN.webp differ diff --git a/src/fmn_poll.py b/src/fmn_poll.py index c0c6ac8..cbb8cb3 100644 --- a/src/fmn_poll.py +++ b/src/fmn_poll.py @@ -38,7 +38,7 @@ def create_poll_movies(text=text_create_poll(), poll_expires=345600): attaches = [] try: - attaches = [upload_attachment('src/FMN.png')] + attaches = [upload_attachment('src/FMN.webp')] except Exception as E: logger.error(f"attachements can't do upload: {E}") @@ -92,7 +92,7 @@ def get_winner_movie(poll_status_id=str): text_winned = f"{expired_poll_count} голосование завершилось! Победил вариант предложенный @{acct_suggested}:\n{win_variant}" logger.success("Победил " + str(movie)) - post_status(text_winned, attachments=[upload_attachment('src/FMN.png')]) + post_status(text_winned, attachments=[upload_attachment('src/FMN.webp')]) write_states() reset_poll() diff --git a/src/listener_mention.py b/src/listener_mention.py index f5e3399..a1f964d 100644 --- a/src/listener_mention.py +++ b/src/listener_mention.py @@ -51,7 +51,7 @@ def get_control_mention(): next_movie_watching = time_now + next_movie_watching_delta max_mute_time = time.mktime(time.struct_time(next_movie_watching.timetuple())) # Глушение до следующего сеанса FMN. next_movie_watching = next_movie_watching.strftime('%d.%m.%Y') - post_status(start_collect_movies_text(movies_accept_time, next_movie_watching), st_id, attachments=[upload_attachment('src/FMN.png')]) + post_status(start_collect_movies_text(movies_accept_time, next_movie_watching), st_id, attachments=[upload_attachment('src/FMN.webp')]) time.sleep(0.2) mark_as_read_notification(i['id'])