summaryrefslogtreecommitdiffstats
path: root/module/RequestFactory.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/RequestFactory.py')
-rw-r--r--module/RequestFactory.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/module/RequestFactory.py b/module/RequestFactory.py
index 410d5ccd5..f66dfaf5d 100644
--- a/module/RequestFactory.py
+++ b/module/RequestFactory.py
@@ -20,6 +20,7 @@
from threading import Lock
from module.network.Request import Request
from module.network.XdccRequest import XdccRequest
+from module.network.FtpRequest import FtpRequest
import pycurl
class RequestFactory():
@@ -40,6 +41,9 @@ class RequestFactory():
elif type == "XDCC":
req = XdccRequest()
+ elif type == "FTP":
+ req = FtpRequest()
+
self.requests.append((pluginName, account, req))
self.lock.release()
return req