Skip to content

Commit 4ee5cdd

Browse files
author
lennartk
authored
Removed duplicate statement in example code
`client = client = ` does not make that much sense 🤔
1 parent d0fb423 commit 4ee5cdd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/drivers/motor.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ To connect to a `MongoDB Atlas <https://docs.atlas.mongodb.com/>`_ cluster, use
5656

5757
import motor
5858

59-
client = client = motor.motor_tornado.MotorClient(
59+
client = motor.motor_tornado.MotorClient(
6060
"mongodb+srv://<username>:<password>@<cluster-url>/test?retryWrites=true&w=majority")
6161
db = client.test
6262

0 commit comments

Comments
 (0)