lib/pushover/config.rb in pushover-0.1.2 vs lib/pushover/config.rb in pushover-0.2.0

- old
+ new

@@ -27,10 +27,10 @@ FileUtils.rm file if File.file? file save end def load - if File.exist? self.file + if File.exist?(self.file) && File.stat(self.file).size > 0 h = Yajl.load open(file, 'r').read h.each { |k,v| self[k.to_sym] = v} end end end