diff options
author | Peter Palfrader <peter@palfrader.org> | 2006-07-06 00:10:12 +0000 |
---|---|---|
committer | weasel <weasel@bc3d92e2-beff-0310-a7cd-cc87d7ac0ede> | 2006-07-06 00:10:12 +0000 |
commit | 4fa8df9226fe00c991b5d22907327f7ba1eacf4a (patch) | |
tree | cd2718c623acd27d446d5febbe2e6cdf4920e060 | |
parent | a046c34fbac060f4678e82db5f4cfaeda7019eb3 (diff) |
length does not work for RMail::Message objects, do a to_s
git-svn-id: svn+ssh://asteria.noreply.org/svn/weaselutils/trunk@152 bc3d92e2-beff-0310-a7cd-cc87d7ac0ede
-rwxr-xr-x | split-mailman-mails-and-discard-and-save | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/split-mailman-mails-and-discard-and-save b/split-mailman-mails-and-discard-and-save index 48df9eb..ab02340 100755 --- a/split-mailman-mails-and-discard-and-save +++ b/split-mailman-mails-and-discard-and-save @@ -158,7 +158,7 @@ def runnoerrors(command, input) end def sa_check(message) - if message.length > 250000 + if message.to_s.length > 250000 return ["Unsure", "File over 250000 Bytes in size, SA check skipped", 0] end |