lib/sup/label.rb in sup-0.20.0 vs lib/sup/label.rb in sup-0.21.0

- old
+ new

@@ -13,10 +13,10 @@ HIDDEN_RESERVED_LABELS = [ :starred, :unread, :attachment, :forwarded, :replied ] def initialize fn @fn = fn labels = - if File.exists? fn + if File.exist? fn IO.readlines(fn).map { |x| x.chomp.intern } else [] end @labels = {}