Skip to content

Commit

Permalink
fix native-shared python test file (non-CI use)
Browse files Browse the repository at this point in the history
  • Loading branch information
obastemur committed Oct 4, 2017
1 parent d54ede6 commit 212e128
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/native-tests/test-python/helloWorld.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
platform = "so"

build_type = sys.argv[1]
if sys.argv[2] != None:
if len(sys.argv) > 2 and sys.argv[2] != None:
so_path = sys.argv[2]
else:
so_path = "../../../out/" + build_type + "/libChakraCore." + platform
Expand Down

0 comments on commit 212e128

Please sign in to comment.