Permalink
Browse files

Fixed up some code that I broke earlier.

  • Loading branch information...
1 parent 1cc80ae commit 9e2f2f5931dbff84ddb892e92f7654ed284663fc @brosner brosner committed Jan 7, 2009
Showing with 2 additions and 2 deletions.
  1. +2 −2 notification/backends/__init__.py
@@ -31,6 +31,6 @@ def load_backends():
raise exceptions.ImproperlyConfigured, 'Error importing notification backend %s: "%s"' % (backend_mod, e)
# add the backend label and an instantiated backend class to the
# backends list.
- backend_instance = getattr(backend_mod, backend_class)(label, spam_sensitivity)
- backends.append(label, backend_instance)
+ backend_instance = getattr(mod, backend_class)(label, spam_sensitivity)
+ backends.append((label, backend_instance))
return dict(backends)

0 comments on commit 9e2f2f5

Please sign in to comment.