From 3ee046dc95612b597bad0dccc0970777b52c60ea Mon Sep 17 00:00:00 2001 From: Patrick Decat Date: Tue, 18 Sep 2018 22:13:23 +0200 Subject: [PATCH] Fix adding torrent file with Deluge Web #427 --- .../main/java/org/transdroid/daemon/Deluge/DelugeAdapter.java | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/java/org/transdroid/daemon/Deluge/DelugeAdapter.java b/app/src/main/java/org/transdroid/daemon/Deluge/DelugeAdapter.java index a023e4a7..0971b408 100644 --- a/app/src/main/java/org/transdroid/daemon/Deluge/DelugeAdapter.java +++ b/app/src/main/java/org/transdroid/daemon/Deluge/DelugeAdapter.java @@ -145,6 +145,7 @@ public class DelugeAdapter implements IDaemonAdapter { private static final String PATH_TO_UPLOAD = "/upload"; private static final String RPC_ID = "id"; + private final String RPC_METHOD_ADD_FILE = "web.add_torrents"; private DaemonSettings settings; private DefaultHttpClient httpclient;