Mercurial > hgrepos > hgweb.cgi > after5
changeset 31:aceb533dfa32 draft
Schedule file is already decoded. No need to decode again.
author | HIROSE Yuuji <yuuji@gentei.org> |
---|---|
date | Tue, 03 Apr 2012 16:28:00 +0900 |
parents | af3f2175eddf |
children | d23a2b3c456b |
files | after5.rb |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/after5.rb Tue Apr 03 16:23:45 2012 +0900 +++ b/after5.rb Tue Apr 03 16:28:00 2012 +0900 @@ -5,7 +5,7 @@ # (C)2003, 2004, 2006, 2008, 2012 by HIROSE Yuuji [yuuji<at>gentei.org] # $Id: after5.rb,v 1.19 2012/04/01 11:52:25 yuuji Exp yuuji $ # $HGid$ -# Last modified Tue Apr 3 16:23:09 2012 on firestorm +# Last modified Tue Apr 3 16:27:10 2012 on firestorm # See http://www.gentei.org/~yuuji/software/after5/ # このスクリプトはEUCで保存してください。 @@ -781,7 +781,7 @@ if test(?s, f) ntl[user][date] = {} ntl[user][date]['file'] = f - ntl[user][date]['text'] = IO.readlines(f).join.toeuc + ntl[user][date]['text'] = IO.readlines(f) else File.unlink(f) # symlink points to nonexistent file end @@ -2438,7 +2438,7 @@ dellist << filehash['file'] sprintf("%s[[[%d/%d/%d %s]]]%s\n", line, y, m, d, hhmm, line) + \ sprintf("(%s %s)\n", comment, msg('notification')) + \ - indent+decode(filehash['text'].join(indent)) + "\n\n" + indent+filehash['text'].join(indent) + "\n\n" } # content.delete(nil) if content