whimsical-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject [whimsy] branch master updated: update does nothing without a block
Date Sat, 27 Jun 2020 21:48:00 GMT
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 <sebb@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


Mime
View raw message