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: Round up
Date Tue, 31 Mar 2020 17:31:38 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 adae858  Round up
adae858 is described below

commit adae8583d57498082a6a4ee2a229c7d15ad62694
Author: Sebb <sebb@apache.org>
AuthorDate: Tue Mar 31 18:31:29 2020 +0100

    Round up
---
 www/members/meeting-util.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/www/members/meeting-util.rb b/www/members/meeting-util.rb
index ae4e1be..919cfd2 100644
--- a/www/members/meeting-util.rb
+++ b/www/members/meeting-util.rb
@@ -27,7 +27,7 @@ class MeetingUtil
   def self.calculate_quorum(mtg_dir)
     begin
       num_members = File.read(File.join(mtg_dir, 'record')).each_line.count
-      quorum_need = num_members / 3
+      quorum_need = (num_members + 2) / 3
       num_proxies = Dir[File.join(mtg_dir, 'proxies-received', '*')].count
       attend_irc = quorum_need - num_proxies
     rescue StandardError => e


Mime
View raw message