Skip to content

Commit

Permalink
Merge branch 'master' into svn
Browse files Browse the repository at this point in the history
git-svn-id: https://tdiary.svn.sourceforge.net/svnroot/tdiary/trunk/core@3640 7f22e88f-374d-0410-998f-c91420d97ba2
  • Loading branch information
hsbt committed Jun 20, 2010
2 parents 3030da4 + b1485a8 commit 742815e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion misc/plugin/image.rb
Expand Up @@ -186,7 +186,8 @@ def image_list( date )
list = []
reg = /#{date}_(\d+)\.(#{image_ext})$/
begin
Dir::foreach( @image_dir ) do |file|
Dir::glob( @image_dir + "/#{date}_*" ) do |file|
file = File.basename( file )
list[$1.to_i] = file if reg =~ file
end
rescue Errno::ENOENT
Expand Down

0 comments on commit 742815e

Please sign in to comment.