From ed7b75b956c4400bb5bfcb5b426201fbb110b872 Mon Sep 17 00:00:00 2001 From: Martijn Voncken Date: Sat, 16 Feb 2008 10:33:40 +0000 Subject: [PATCH] fix move,fix add using url --- deluge/core/core.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/deluge/core/core.py b/deluge/core/core.py index 97a247275..ed73938d5 100644 --- a/deluge/core/core.py +++ b/deluge/core/core.py @@ -328,7 +328,7 @@ class Core( # Add the torrent to session return self.export_add_torrent_file( - filename, save_path, filedump, options) + filename, filedump, options) def export_remove_torrent(self, torrent_id, remove_torrent, remove_data): log.debug("Removing torrent %s from the core.", torrent_id) @@ -349,7 +349,7 @@ class Core( def export_move_torrent(self, torrent_id, dest): log.debug("Moving torrent %s to %s", torrent_id, dest) - if not self.torrents[torrent_id].move(dest): + if not self.torrents[torrent_id].move_storage(dest): log.warning("Error moving torrent %s to %s", torrent_id, dest) def export_pause_all_torrents(self):