diff options
-rwxr-xr-x | sunday.rb | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -25,7 +25,7 @@ cgi = CGI.new today = Date::today thoughts_file = "#{THOUGHTS_DIR}/#{today}" -if Date::today.sunday? +if today.sunday? if File.exist? thoughts_file contents = File.read thoughts_file else |