island: Change keyword argument in send_from_directory() (changed in flask 2.0) which was causing issues in T1216

This commit is contained in:
Shreya Malviya 2021-08-10 09:29:48 +05:30
parent 2b602cbac4
commit 6b6cfbfc29
1 changed files with 1 additions and 1 deletions

View File

@ -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,
) )