This is an automated email from the ASF dual-hosted git repository.
humbedooh pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/steve.git
The following commit(s) were added to refs/heads/trunk by this push:
new 6822bee Re-import election, otherwise the backends fail to load
6822bee is described below
commit 6822beea2e318da5dc8aef47b294ac58ceb1256a
Author: Daniel Gruno <[email protected]>
AuthorDate: Thu Feb 27 17:47:51 2025 +0100
Re-import election, otherwise the backends fail to load
election.py is in charge of setting up backends, so regardless of direct
use in this file, the import is required for implicit calls.
---
pysteve/lib/voter.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pysteve/lib/voter.py b/pysteve/lib/voter.py
index fe0c941..108ef54 100644
--- a/pysteve/lib/voter.py
+++ b/pysteve/lib/voter.py
@@ -26,7 +26,7 @@ except:
import smtplib
from smtplib import SMTPException
-from lib import constants
+from lib import constants, election
backend = constants.initBackend(config)