You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@whimsical.apache.org by se...@apache.org on 2020/06/27 21:48:00 UTC

[whimsy] branch master updated: update does nothing without a block

This is an automated email from the ASF dual-hosted git repository.

sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/whimsy.git


The following commit(s) were added to refs/heads/master by this push:
     new 281c86f  update does nothing without a block
281c86f is described below

commit 281c86f0afe1896019a70b8a909b02df4a02ad23
Author: Sebb <se...@apache.org>
AuthorDate: Sat Jun 27 22:47:51 2020 +0100

    update does nothing without a block
---
 www/board/agenda/models/agenda.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/www/board/agenda/models/agenda.rb b/www/board/agenda/models/agenda.rb
index cdb3d4b..04a5a30 100755
--- a/www/board/agenda/models/agenda.rb
+++ b/www/board/agenda/models/agenda.rb
@@ -119,7 +119,7 @@ class Agenda
       # do a full parse in the background if a quick parse was done
       if Agenda[file][:mtime] == -1
         Thread.new do
-          self.update(file, nil)
+          self.update(file, nil) {}
           parse(file, :full)
         end
       end