TypeError | Python 3.5.3: /usr/bin/python3 Fri May 20 11:46:36 2022 |
A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.
/var/www/html/artistprofile.cgi in |
231 alltracks = {} |
232 alltracktitles = {} |
=> 233 for album in reversed(albums): |
234 if album['album_type'] not in hide: |
235 for track in album['tracks']['items']: |
album undefined, builtin reversed = <class 'reversed'>, albums = None |
TypeError: argument to reversed() must be a sequence
args =
('argument to reversed() must be a sequence',)
with_traceback =
<built-in method with_traceback of TypeError object>