mirror of
https://github.com/meisnate12/Plex-Meta-Manager
synced 2024-11-10 06:54:21 +00:00
[24] Fixes a bug when parsing a comma-separated string of ints
This commit is contained in:
parent
aa5fc670c4
commit
bd34e2c1a6
3 changed files with 3 additions and 2 deletions
|
@ -17,5 +17,6 @@ Changed the `overlay_artwork_filetype` Setting to accept `webp_lossy` and `webp_
|
|||
Fixes #2034 `anilist_userlist` `score` attribute wasn't being validated correctly
|
||||
Fixes #1367 Error when trying to symlink the logs folder
|
||||
Fixes #2028 TMDb IDs were being ignored on the report
|
||||
Fixes a bug when parsing a comma-separated string of ints
|
||||
|
||||
Various other Minor Fixes
|
2
VERSION
2
VERSION
|
@ -1 +1 @@
|
|||
2.0.1-develop23
|
||||
2.0.1-develop24
|
||||
|
|
|
@ -794,7 +794,7 @@ def parse(error, attribute, data, datatype=None, methods=None, parent=None, defa
|
|||
elif datatype == "intlist":
|
||||
if value:
|
||||
try:
|
||||
return [int(v) for v in value if v] if isinstance(value, list) else [int(value)]
|
||||
return [int(v) for v in value if v] if isinstance(value, list) else get_list(value, int_list=True)
|
||||
except ValueError:
|
||||
pass
|
||||
return []
|
||||
|
|
Loading…
Reference in a new issue