mirror of https://github.com/axmolengine/axmol.git
Fix axmol run --list-platforms [skip ci]
This commit is contained in:
parent
4811b9768e
commit
07f9bf5b2f
|
@ -675,7 +675,7 @@ class CCPlugin(object):
|
|||
|
||||
if args.listplatforms and self._project is not None:
|
||||
platforms = axmol_project.Platforms(self._project, args.platform, args.proj_dir)
|
||||
p = platforms.get_available_platforms().keys()
|
||||
p = list(platforms.get_available_platforms().keys())
|
||||
print('{"platforms":' + json.dumps(p) + '}')
|
||||
sys.exit(0)
|
||||
|
||||
|
|
Loading…
Reference in New Issue