From a5d53b3349dc1488da57a7b02758ab1063b4560c Mon Sep 17 00:00:00 2001 From: Lance Stout Date: Mon, 10 Jan 2011 16:33:30 -0500 Subject: [PATCH] Fix method call error. --- sleekxmpp/roster.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sleekxmpp/roster.py b/sleekxmpp/roster.py index da48533..35e739f 100644 --- a/sleekxmpp/roster.py +++ b/sleekxmpp/roster.py @@ -61,7 +61,7 @@ class Roster(object): key -- Return the roster for this JID. """ if key not in self._rosters: - self.add(key, self.db) + self.add(key) self._rosters[key].auto_authorize = self.auto_authorize self._rosters[key].auto_subscribe = self.auto_subscribe return self._rosters[key]