Skip to content

Commit fc5d9e7

Browse files
committed
Fixed broken string interpolation.
1 parent e4cbf80 commit fc5d9e7

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
/.project
2+
/.pydevproject

django_socketio/events.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ def handler_with_channel(handler):
4646
if not self.supports_channels:
4747
raise EventError("The %s event does not support channels so "
4848
"the handler `%s` could not be registered" %
49-
self.name, handler.__name__)
49+
(self.name, handler.__name__))
5050
channel = re.compile(channel)
5151
self.handlers.append((handler, channel))
5252

0 commit comments

Comments
 (0)