Browse Source

Fix error of run_python_script

Cheng Zhao 8 years ago
parent
commit
d00bff4d94
1 changed files with 2 additions and 2 deletions
  1. 2 2
      script/upload.py

+ 2 - 2
script/upload.py

@@ -126,8 +126,8 @@ def parse_args():
 
 
 def run_python_script(script, *args):
-  script_path = os.path.join(SOURCE_ROOT, 'script', script),
-  return execute([sys.executable, script_path] + args)
+  script_path = os.path.join(SOURCE_ROOT, 'script', script)
+  return execute([sys.executable, script_path] + list(args))
 
 
 def get_electron_build_version():