diff options
author | mathieui <mathieui@mathieui.net> | 2014-10-20 20:03:16 +0200 |
---|---|---|
committer | mathieui <mathieui@mathieui.net> | 2014-10-20 21:20:43 +0200 |
commit | 7b01c62e07612a123f3ffe94583f51099e470c3b (patch) | |
tree | 3f0e5976fdaa5e9da2ad057c6dfa4051b823b060 /src/bookmark.py | |
parent | ece9b2082b9d092541d867211924bc2802f878ad (diff) | |
download | poezio-7b01c62e07612a123f3ffe94583f51099e470c3b.tar.gz poezio-7b01c62e07612a123f3ffe94583f51099e470c3b.tar.bz2 poezio-7b01c62e07612a123f3ffe94583f51099e470c3b.tar.xz poezio-7b01c62e07612a123f3ffe94583f51099e470c3b.zip |
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.
Diffstat (limited to 'src/bookmark.py')
-rw-r--r-- | src/bookmark.py | 2 |
1 files changed, 1 insertions, 1 deletions
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) |