island: Change keyword argument in send_from_directory() (changed in flask 2.0) which was causing issues in T1216
This commit is contained in:
parent
2b602cbac4
commit
6b6cfbfc29
|
@ -16,5 +16,5 @@ class T1216PBAFileDownload(flask_restful.Resource):
|
||||||
executable_file_name = "T1216_random_executable.exe"
|
executable_file_name = "T1216_random_executable.exe"
|
||||||
return send_from_directory(
|
return send_from_directory(
|
||||||
directory=os.path.join(MONKEY_ISLAND_ABS_PATH, "cc", "resources", "pba"),
|
directory=os.path.join(MONKEY_ISLAND_ABS_PATH, "cc", "resources", "pba"),
|
||||||
filename=executable_file_name,
|
path=executable_file_name,
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue