diff --git a/tools/console/bin/axmol.py b/tools/console/bin/axmol.py index 652e2db862..0c0ae1adc0 100644 --- a/tools/console/bin/axmol.py +++ b/tools/console/bin/axmol.py @@ -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)