sup

A curses threads-with-tags style email client

sup.git

git clone https://supmua.dev/git/sup/
commit 708282eb1a21846643bfe9d1c0bbe0ccfa5ecb01
parent 78a196e489f39e5be22be9a6148fdd593b061e25
Author: Whyme.Lyu <callme5long@gmail.com>
Date:   Sun,  5 May 2013 19:10:10 -0700

Merge pull request #42 from rakoo/fix-no-labels

Fix error when a source has no labels
Diffstat:
M lib/sup/source.rb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/sup/source.rb b/lib/sup/source.rb
@@ -160,7 +160,7 @@ module SerializeLabelsNicely
   end
 
   def after_unmarshal!
-    @labels = Set.new(@labels.map { |s| s.to_sym })
+    @labels = Set.new(@labels.to_a.map { |s| s.to_sym })
   end
 end