AutoAdd Plugin. Remove line feeds from log messages.

This commit is contained in:
Pedro Algarvio 2011-05-08 23:48:42 +01:00
parent 77fc53afc0
commit d4692bef42
1 changed files with 2 additions and 2 deletions

View File

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