lib/siteleaf.rb in siteleaf-0.8.1 vs lib/siteleaf.rb in siteleaf-0.8.3

- old
+ new

@@ -26,10 +26,10 @@ def self.settings_file "#{Etc.getpwuid.dir}/.siteleaf" end def self.load_settings - if File.exists?(self.settings_file) + if File.exist?(self.settings_file) config = File.open(self.settings_file) do|file| Marshal.load(file) end self.api_key = config[:api_key] if config.has_key?(:api_key) self.api_secret = config[:api_secret] if config.has_key?(:api_secret) \ No newline at end of file