From a06b3508588d7dc9ed88c9c263ff138349ff6383 Mon Sep 17 00:00:00 2001 From: Pedro Algarvio Date: Fri, 6 May 2011 19:08:23 +0100 Subject: [PATCH] Correct log message. --- deluge/core/torrentmanager.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/deluge/core/torrentmanager.py b/deluge/core/torrentmanager.py index a59a742b4..9e1fec2f8 100644 --- a/deluge/core/torrentmanager.py +++ b/deluge/core/torrentmanager.py @@ -500,10 +500,10 @@ class TorrentManager(component.Component): component.get("EventManager").emit( TorrentAddedEvent(torrent.torrent_id, from_state) ) - log.info("Torrent %s %s by user: %s", + log.info("Torrent %s from user \"%s\" %s", torrent.get_status(["name"])["name"], - (from_state and "added" or "loaded"), - component.get("RPCServer").get_session_user()) + torrent.get_status(["owner"])["owner"], + (from_state and "added" or "loaded")) return torrent.torrent_id def load_torrent(self, torrent_id):