get mwClient from application scope

pull/34/head
Zlatin Balevsky 2019-12-04 19:02:51 +00:00
parent d115f54812
commit 6e9a36461a
1 changed files with 1 additions and 1 deletions

View File

@ -12,7 +12,7 @@
String downloadLocation = request.getParameter("download_location");
String incompleteLocation = request.getParameter("incomplete_location");
MuWireClient client = (MuWireClient) session.getAttribute("mwClient");
MuWireClient client = (MuWireClient) application.getAttribute("mwClient");
client.initMWProps(nickname, new File(downloadLocation), new File(incompleteLocation));
client.start();
%>