From 3d5510cedba4491b2ab56facc63d89fc0ed0ef75 Mon Sep 17 00:00:00 2001 From: nixo Date: Fri, 17 May 2019 20:58:10 +0200 Subject: [PATCH] fixup --- JlSonic/api.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/JlSonic/api.jl b/JlSonic/api.jl index b030da9..d28060f 100644 --- a/JlSonic/api.jl +++ b/JlSonic/api.jl @@ -93,7 +93,7 @@ function getArtists() artists = unique(beetsdb) # albums = group_albums_as_artists() # .|> does not work in a macro. What to do? - for index in unique(first.(filter(isempty, + for index in unique(first.(filter(!isempty, getfield.(artists, Ref(:name)))) .|> uppercase) indexXML = new_child(indexes, "index") set_attribute(indexXML, "name", string(index))