Correct log message.
This commit is contained in:
parent
06f025f4bd
commit
a06b350858
|
@ -500,10 +500,10 @@ class TorrentManager(component.Component):
|
||||||
component.get("EventManager").emit(
|
component.get("EventManager").emit(
|
||||||
TorrentAddedEvent(torrent.torrent_id, from_state)
|
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"],
|
torrent.get_status(["name"])["name"],
|
||||||
(from_state and "added" or "loaded"),
|
torrent.get_status(["owner"])["owner"],
|
||||||
component.get("RPCServer").get_session_user())
|
(from_state and "added" or "loaded"))
|
||||||
return torrent.torrent_id
|
return torrent.torrent_id
|
||||||
|
|
||||||
def load_torrent(self, torrent_id):
|
def load_torrent(self, torrent_id):
|
||||||
|
|
Loading…
Reference in New Issue