Browse Source

Bugfix relating to issue 412; version number was used incorrectly.

pull/11/head
Eric Kok 12 years ago
parent
commit
9f98fcd462
  1. 2
      lib/src/org/transdroid/daemon/Qbittorrent/QbittorrentAdapter.java

2
lib/src/org/transdroid/daemon/Qbittorrent/QbittorrentAdapter.java

@ -124,7 +124,7 @@ public class QbittorrentAdapter implements IDaemonAdapter { @@ -124,7 +124,7 @@ public class QbittorrentAdapter implements IDaemonAdapter {
case Retrieve:
// Request all torrents from server
JSONArray result = new JSONArray(makeRequest(version > 30000? "/json/torrents": "/json/events"));
JSONArray result = new JSONArray(makeRequest(version >= 30000? "/json/torrents": "/json/events"));
return new RetrieveTaskSuccessResult((RetrieveTask) task, parseJsonTorrents(result),null);
case GetTorrentDetails:

Loading…
Cancel
Save