From 7b01c62e07612a123f3ffe94583f51099e470c3b Mon Sep 17 00:00:00 2001 From: mathieui Date: Mon, 20 Oct 2014 20:03:16 +0200 Subject: Change the API of Config.get_by_tabname Make the "default" parameter optional and thus move it to the end of the command with the other optional parameters. And change all the calls. --- src/bookmark.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/bookmark.py') diff --git a/src/bookmark.py b/src/bookmark.py index aa710d24..1807c45e 100644 --- a/src/bookmark.py +++ b/src/bookmark.py @@ -226,7 +226,7 @@ def get_local(): nick = jid.resource else: nick = None - passwd = config.get_by_tabname('password', '', jid.bare, fallback=False) or None + passwd = config.get_by_tabname('password', jid.bare, fallback=False) or None b = Bookmark(jid.bare, autojoin=True, nick=nick, password=passwd, method='local') if not get_by_jid(b.jid): bookmarks.append(b) -- cgit v1.2.3