Commit 33bd0b17 33bd0b177f213d23d195a28037ffc028299fa600 by Nicolas Perriault

fixes #49, #50 - phantomjs native args were not passed to phantom

1 parent 087f726f
...@@ -13,8 +13,8 @@ def resolve(path): ...@@ -13,8 +13,8 @@ def resolve(path):
13 PHANTOMJS_EXEC = os.environ.get('PHANTOMJS_EXECUTABLE', 'phantomjs').split(' ') 13 PHANTOMJS_EXEC = os.environ.get('PHANTOMJS_EXECUTABLE', 'phantomjs').split(' ')
14 CASPER_PATH = os.path.abspath(os.path.join(os.path.dirname(resolve(__file__)), '..')) 14 CASPER_PATH = os.path.abspath(os.path.join(os.path.dirname(resolve(__file__)), '..'))
15 CASPER_ARGS = PHANTOMJS_EXEC 15 CASPER_ARGS = PHANTOMJS_EXEC
16 CASPER_ARGS.extend([os.path.join(CASPER_PATH, 'bin', 'bootstrap.js'), '--casper-path=%s' % CASPER_PATH, '--cli'])
17 CASPER_ARGS.extend(sys.argv[1:]) 16 CASPER_ARGS.extend(sys.argv[1:])
17 CASPER_ARGS.extend([os.path.join(CASPER_PATH, 'bin', 'bootstrap.js'), '--casper-path=%s' % CASPER_PATH, '--cli'])
18 18
19 try: 19 try:
20 status = subprocess.call(CASPER_ARGS) 20 status = subprocess.call(CASPER_ARGS)
......
1 Subproject commit 67e24a5dc0596efb6e4e91b56d5e77fa6b2dd941 1 Subproject commit 2b39c2fed23b8179c734c42248f0706ddb3fba54
......