Skip to content

Commit 628cd2d

Browse files
committed
PYTHON-1420 Fix heartbeatFrequencyMS ConfigurationError.
1 parent 9018525 commit 628cd2d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pymongo/settings.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@ def __init__(self,
4242
"""
4343
if heartbeat_frequency < common.MIN_HEARTBEAT_INTERVAL:
4444
raise ConfigurationError(
45-
"heartbeatFrequencyMS cannot be less than %d" %
46-
common.MIN_HEARTBEAT_INTERVAL * 1000)
45+
"heartbeatFrequencyMS cannot be less than %d" % (
46+
common.MIN_HEARTBEAT_INTERVAL * 1000,))
4747

4848
self._seeds = seeds or [('localhost', 27017)]
4949
self._replica_set_name = replica_set_name

0 commit comments

Comments
 (0)