Skip to content

Commit c68eb6c

Browse files
committed
Size of application is now 'N/A' when invalid value is returned (Fix #171)
2 parents 4e77958 + fe5b995 commit c68eb6c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gplaycli/gplaycli.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,7 @@ def search(self, search_string, nb_results, free_only=True, include_headers=True
336336
continue
337337
detail = [result['title'],
338338
result['author'],
339-
util.sizeof_fmt(result['installationSize']),
339+
util.sizeof_fmt(result['installationSize']) if result['installationSize'] > 0 else 'N/A',
340340
result['numDownloads'],
341341
result['uploadDate'],
342342
result['docId'],

0 commit comments

Comments
 (0)