If a song is added in the new month UTC time, the following error will occur:
2020-05-01T17:46:41.093397+00:00 app[web.1]: File "/app/slackapp/routes.py", line 189, in refresh_playlist 2020-05-01T17:46:41.093397+00:00 app[web.1]: all_analysis(channel_id, old_playlist_name, False, True) 2020-05-01T17:46:41.093398+00:00 app[web.1]: File "/app/slackapp/routes.py", line 29, in all_analysis 2020-05-01T17:46:41.093398+00:00 app[web.1]: date_analysis(channel_id, playlist_name, pad_to_today, pad_to_month_end) 2020-05-01T17:46:41.093399+00:00 app[web.1]: File "/app/slackapp/routes.py", line 99, in date_analysis 2020-05-01T17:46:41.093399+00:00 app[web.1]: month_tracks, pad_to_today=pad_to_today, pad_to_month_end=pad_to_month_end) 2020-05-01T17:46:41.093399+00:00 app[web.1]: File "/app/slackapp/clients/analysis.py", line 121, in track_count_per_day 2020-05-01T17:46:41.093400+00:00 app[web.1]: days_in_curr_month.remove(track_date.day) 2020-05-01T17:46:41.093400+00:00 app[web.1]: ValueError: list.remove(x): x not in list
If a song is added in the new month UTC time, the following error will occur:
2020-05-01T17:46:41.093397+00:00 app[web.1]: File "/app/slackapp/routes.py", line 189, in refresh_playlist 2020-05-01T17:46:41.093397+00:00 app[web.1]: all_analysis(channel_id, old_playlist_name, False, True) 2020-05-01T17:46:41.093398+00:00 app[web.1]: File "/app/slackapp/routes.py", line 29, in all_analysis 2020-05-01T17:46:41.093398+00:00 app[web.1]: date_analysis(channel_id, playlist_name, pad_to_today, pad_to_month_end) 2020-05-01T17:46:41.093399+00:00 app[web.1]: File "/app/slackapp/routes.py", line 99, in date_analysis 2020-05-01T17:46:41.093399+00:00 app[web.1]: month_tracks, pad_to_today=pad_to_today, pad_to_month_end=pad_to_month_end) 2020-05-01T17:46:41.093399+00:00 app[web.1]: File "/app/slackapp/clients/analysis.py", line 121, in track_count_per_day 2020-05-01T17:46:41.093400+00:00 app[web.1]: days_in_curr_month.remove(track_date.day) 2020-05-01T17:46:41.093400+00:00 app[web.1]: ValueError: list.remove(x): x not in list