Fix axmol run --list-platforms [skip ci]

This commit is contained in:
一线灵|Deal 2022-11-12 20:48:41 +08:00 committed by GitHub
parent 4811b9768e
commit 07f9bf5b2f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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)