From b9bcd3415d5cef7214ac5ae7a3632b9896160837 Mon Sep 17 00:00:00 2001 From: Reinhard Pointner Date: Tue, 31 Jul 2012 00:00:46 +0000 Subject: [PATCH] * better tracing --- website/scripts/utorrent-postprocess.groovy | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/website/scripts/utorrent-postprocess.groovy b/website/scripts/utorrent-postprocess.groovy index 1720b1d1..914b6e40 100644 --- a/website/scripts/utorrent-postprocess.groovy +++ b/website/scripts/utorrent-postprocess.groovy @@ -106,7 +106,7 @@ def groups = input.groupBy{ f -> } // log movie/series/anime detection results -groups.each{ group -> _log.finest("Group: $group") } +groups.each{ group, files -> _log.finest("Group: $group => ${files*.name}") } // process each batch groups.each{ group, files -> @@ -198,7 +198,7 @@ if (gmail && getRenameLog().size() > 0) { } }, messagemimetype: "text/html", - to: tryQuietly{ gmail2 } ?: gmail[0] =~ /@/ ? gmail[0] : gmail[0] + '@gmail.com', + to: tryQuietly{ gmail2 } ?: gmail[0] + '@gmail.com', user: gmail[0], password: gmail[1] ) }