Skip to content

Commit 2e52c37

Browse files
committed
Fixed typo
1 parent 2c9ab71 commit 2e52c37

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

djcelery/snapshot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ def _handle_tasks():
137137
# When connection already closed exception is raised,
138138
# force to close connection and Django will automatically reconnect
139139
if str(e) == 'connection already closed':
140-
connction.close()
140+
connection.close()
141141
logger.info('Django db connection is closed and will reconnect')
142142

143143
def on_cleanup(self):

0 commit comments

Comments
 (0)