fix move,fix add using url

This commit is contained in:
Martijn Voncken 2008-02-16 10:33:40 +00:00
parent 6b49e4e623
commit ed7b75b956
1 changed files with 2 additions and 2 deletions

View File

@ -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):