Update connection.py

Typo
Merge pull request #2178 from adrienbrunet/patch-1

Update connection.py