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/03/31 17:31:38 UTC
[whimsy] branch master updated: Round up
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 <se...@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