Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: issues with input_id being a list #2183

Closed
wants to merge 1 commit into from

Conversation

ricoloic
Copy link

@ricoloic ricoloic commented Aug 1, 2024

Fixing an issue when using MAL and/or anilist

Description

This change is to fix an issue that has been going on for about a month or so which seemed to have been cause to a list of ids being treated as a single id

| Traceback (most recent call last):                                                                 |
|   File "//kometa.py", line 812, in run_collection                                                  |
|     builder.filter_and_save_items(builder.gather_ids(method, value))                               |
|   File "/modules/builder.py", line 2298, in filter_and_save_items                                  |
|     input_id = int(input_id)                                                                       |
|                ^^^^^^^^^^^^^                                                                       |
| TypeError: int() argument must be a string, a bytes-like object or a real number, not 'list'       |
|                                                                                                    |
| Unknown Error: int() argument must be a string, a bytes-like object or a real number, not 'list'   |

#2135

Issues Fixed or Closed

  • Fixes #(2135)

Type of Change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)

Checklist

Please delete options that are not relevant.

  • Updated the CHANGELOG with the changes

@YozoraXCII
Copy link
Contributor

@meisnate12 can you review this one please?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants