lib/taskjuggler/SheetHandlerBase.rb in taskjuggler-3.5.0 vs lib/taskjuggler/SheetHandlerBase.rb in taskjuggler-3.6.0

- old
+ new

@@ -1,12 +1,12 @@ #!/usr/bin/env ruby -w # encoding: UTF-8 # # = SheetHandlerBase.rb -- The TaskJuggler III Project Management Software # -# Copyright (c) 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 -# by Chris Schlaeger <chris@linux.com> +# Copyright (c) 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014 +# by Chris Schlaeger <cs@taskjuggler.org> # # This program is free software; you can redistribute it and/or modify # it under the terms of version 2 of the GNU General Public License as # published by the Free Software Foundation. # @@ -244,10 +244,10 @@ 'keywords' => 'taskjuggler, project, management') auxSrcDir = AppConfig.dataDirs('data/css')[0] cssFileName = (auxSrcDir ? auxSrcDir + '/tjreport.css' : '') # Raise an error if we haven't found the data directory - if auxSrcDir.nil? || !File.exists?(cssFileName) + if auxSrcDir.nil? || !File.exist?(cssFileName) dataDirError(cssFileName) end cssFile = IO.read(cssFileName) if cssFile.empty? raise TjException.new, <<"EOT"