Revert "server: qBittorrent: chop the trailing slash off from directory"

This reverts commit dbc0211a99.

Bug: #173
This commit is contained in:
Jesse Chan
2021-01-28 23:30:51 +08:00
parent 7e3c09713c
commit d345be43c0
@@ -328,7 +328,7 @@ class QBittorrentClientGatewayService extends ClientGatewayService {
bytesDone: info.completed,
dateAdded: info.added_on,
dateCreated,
directory: info.save_path.slice(0, -1),
directory: info.save_path,
downRate: info.dlspeed,
downTotal: info.downloaded,
eta: info.eta >= 8640000 ? -1 : info.eta,