From d4692bef4264c2def0f8bcd0499fa29dfda938b2 Mon Sep 17 00:00:00 2001 From: Pedro Algarvio Date: Sun, 8 May 2011 23:48:42 +0100 Subject: [PATCH] AutoAdd Plugin. Remove line feeds from log messages. --- deluge/plugins/autoadd/autoadd/core.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/deluge/plugins/autoadd/autoadd/core.py b/deluge/plugins/autoadd/autoadd/core.py index af5bc279c..bfea91e17 100644 --- a/deluge/plugins/autoadd/autoadd/core.py +++ b/deluge/plugins/autoadd/autoadd/core.py @@ -324,7 +324,7 @@ class Core(CorePluginBase): session_user = rpcserver.get_session_user() session_auth_level = rpcserver.get_session_auth_level() if session_auth_level == AUTH_LEVEL_ADMIN: - log.debug("\n\nCurrent logged in user %s is an ADMIN, send all " + log.debug("Current logged in user %s is an ADMIN, send all " "watchdirs", session_user) return self.watchdirs @@ -333,7 +333,7 @@ class Core(CorePluginBase): if watchdir.get("owner", "localclient") == session_user: watchdirs[watchdir_id] = watchdir - log.debug("\n\nCurrent logged in user %s is not an ADMIN, send only " + log.debug("Current logged in user %s is not an ADMIN, send only " "his watchdirs: %s", session_user, watchdirs.keys()) return watchdirs