Commit f80bfc59 authored by Jonathan Riddell's avatar Jonathan Riddell 🛶

do not display no catgeory items

parent d6dac37f
......@@ -46,8 +46,6 @@ Dir.glob("#{appdata_dir}/*.json") do |file|
if not data.fetch('Categories').any?
print data['Name']['C'] + "\n"
print data['ID'] + "\n"
index['nocategory'] ||= []
index['nocategory'] << id
end
data.fetch('Categories').uniq.each do |category|
# NB: category is the Name value. Should l10n for categoresi get implemented
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment