[V3 Downloader] Make hidden hidden and add disabled (#1828)

* Make hidden hidden and add disabled

* Add documentation
This commit is contained in:
Will
2018-06-08 20:39:07 -04:00
committed by GitHub
parent b983d5904b
commit b041d59fc7
4 changed files with 16 additions and 3 deletions

View File

@@ -470,7 +470,7 @@ class Repo(RepoJSONMixin):
"""
# noinspection PyTypeChecker
return tuple(
[m for m in self.available_modules if m.type == InstallableType.COG and not m.hidden]
[m for m in self.available_modules if m.type == InstallableType.COG and not m.disabled]
)
@property