Fixed bug with platforms list

This commit is contained in:
Ivan Kravets
2014-07-31 16:58:49 +03:00
parent 3f03143e5e
commit 1b2339c3bd
2 changed files with 2 additions and 2 deletions

View File

@@ -53,7 +53,7 @@ def get_project_config():
def get_platforms():
platforms = []
for p in listdir(join(get_source_dir(), "platforms")):
if p.startswith("_") or not p.endswith(".py"):
if p in ("__init__.py", "base.py") or not p.endswith(".py"):
continue
platforms.append(p[:-3])
return platforms