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

gstein pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/steve.git

commit 2c8dd65012846c783e0f42d5e848cef3e0c45a56
Author: Greg Stein <[email protected]>
AuthorDate: Thu Mar 5 03:28:01 2026 -0600

    fix: correct typo in log message and add optional pbar import
---
 v3/server/bin/tally.py | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/v3/server/bin/tally.py b/v3/server/bin/tally.py
index 6331797..7b88b4a 100755
--- a/v3/server/bin/tally.py
+++ b/v3/server/bin/tally.py
@@ -29,6 +29,11 @@ import steve.persondb
 
 from easydict import EasyDict as edict
 
+try:
+    import pbar
+except ImportError:
+    pbar = None
+
 _LOGGER = logging.getLogger(__name__)
 
 THIS_DIR = pathlib.Path(__file__).resolve().parent
@@ -111,7 +116,7 @@ def tally_election(election, issue_id, output_format):
         _LOGGER.info(f'Tallying one issue: {issue_id}')
 
     if len(issues) > 1:
-        _LOGGER.info(f'Talling {len(issues)} issues ...')
+        _LOGGER.info(f'Tallying {len(issues)} issues ...')
 
     all_voters = set()
     results = {}

Reply via email to