Skip to content

Commit 6822bee

Browse files
authored
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.
1 parent 82c0c19 commit 6822bee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pysteve/lib/voter.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
import smtplib
2727
from smtplib import SMTPException
2828

29-
from lib import constants
29+
from lib import constants, election
3030

3131
backend = constants.initBackend(config)
3232

0 commit comments

Comments
 (0)