forked from p15670423/monkey
cc: use data_dir when running monkey agent locally from island
This commit is contained in:
parent
e1209dcb4c
commit
b5e8d895c8
|
@ -32,7 +32,7 @@ def run_local_monkey():
|
|||
return False, "OS Type not found"
|
||||
|
||||
monkey_path = os.path.join(MONKEY_ISLAND_ABS_PATH, 'cc', 'binaries', result['filename'])
|
||||
target_path = os.path.join(MONKEY_ISLAND_ABS_PATH, result['filename'])
|
||||
target_path = os.path.join(env_singleton.config.data_dir_abs_path, result['filename'])
|
||||
|
||||
# copy the executable to temp path (don't run the monkey from its current location as it may delete itself)
|
||||
try:
|
||||
|
|
Loading…
Reference in New Issue