[Downloader] Added "HIDDEN" field to cog info.json format (#657)

This commit is contained in:
Kowlin 2017-03-14 01:54:17 +01:00 committed by Twentysix
parent f32b3acd4c
commit acb0fcac29

View File

@ -138,6 +138,8 @@ class Downloader:
if 'url' == cog:
continue
data = self.get_info_data(repo_name, cog)
if data and data.get("HIDDEN") is True:
continue
if data:
retlist.append([cog, data.get("SHORT", "")])
else: