Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion aw_watcher_spotify/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def data_from_track(track: dict, sp) -> dict:
song_name = track["item"]["name"]
# local files do not have IDs
data = (
(sp.audio_features(track["item"]["id"])[0] or {}) if track["item"]["id"] else {}
({}) if track["item"]["id"] else{}
)
data["title"] = song_name
data["uri"] = track["item"]["uri"]
Expand Down