Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| de9b4ee9c1 | |||
| bf9a6a9679 |
@ -544,6 +544,12 @@ log a warning and move on.
|
|||||||
We should have a global view `/favorites/` that shows the logged in users's
|
We should have a global view `/favorites/` that shows the logged in users's
|
||||||
favorited media objects.
|
favorited media objects.
|
||||||
|
|
||||||
|
* Version 50.1 [1/1]
|
||||||
|
** DONE [#B] Fix bug in charts where only #1 is displayed :charts:templates:
|
||||||
|
:PROPERTIES:
|
||||||
|
:ID: 7136dffb-e6b7-184b-48ac-bb09bae0b0f0
|
||||||
|
:END:
|
||||||
|
|
||||||
* Version 50.0 [2/2]
|
* Version 50.0 [2/2]
|
||||||
** DONE [#A] Allow updating all a user's scrobble visibility at once :scrobbles:sharing:feature:
|
** DONE [#A] Allow updating all a user's scrobble visibility at once :scrobbles:sharing:feature:
|
||||||
:PROPERTIES:
|
:PROPERTIES:
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
[tool.poetry]
|
[tool.poetry]
|
||||||
name = "vrobbler"
|
name = "vrobbler"
|
||||||
version = "50.0"
|
version = "50.1"
|
||||||
description = ""
|
description = ""
|
||||||
authors = ["Colin Powell <colin@unbl.ink>"]
|
authors = ["Colin Powell <colin@unbl.ink>"]
|
||||||
|
|
||||||
|
|||||||
@ -7,6 +7,9 @@ register = template.Library()
|
|||||||
def get_item(dictionary, key):
|
def get_item(dictionary, key):
|
||||||
if isinstance(dictionary, dict):
|
if isinstance(dictionary, dict):
|
||||||
return dictionary.get(key)
|
return dictionary.get(key)
|
||||||
|
try:
|
||||||
|
return dictionary[int(key)]
|
||||||
|
except (IndexError, KeyError, TypeError, ValueError):
|
||||||
return None
|
return None
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user