From 659abca981913a2baa716b90bec6909cb49a83e5 Mon Sep 17 00:00:00 2001 From: Sergey Dolin Date: Thu, 29 Jan 2015 15:06:18 +0500 Subject: [PATCH] empty list --- iLcatraz/ITunesService.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iLcatraz/ITunesService.m b/iLcatraz/ITunesService.m index 55c3d35..05de4e8 100644 --- a/iLcatraz/ITunesService.m +++ b/iLcatraz/ITunesService.m @@ -143,7 +143,7 @@ + (NSString*)descriptor2json:(NSAppleEventDescriptor*) descriptor [ret appendString:item]; } } - if (ret==NULL) return NULL; + if (ret==NULL) return @"[]"; return [[@"[" stringByAppendingString:[NSString stringWithString:ret]] stringByAppendingString:@"]"]; } case 'cUsP': {