diff options
author | mathieui <mathieui@mathieui.net> | 2011-11-27 20:24:44 +0100 |
---|---|---|
committer | mathieui <mathieui@mathieui.net> | 2011-11-27 20:24:44 +0100 |
commit | 4bab9d4216c594159c2eba28ed5a4ac39400c73b (patch) | |
tree | fceaa601eddfa7f440010eaf6ad17f0bbde4e941 /src/core.py | |
parent | a257681b9f64362f667bfa9f2cf9e6f70b6b4319 (diff) | |
download | poezio-4bab9d4216c594159c2eba28ed5a4ac39400c73b.tar.gz poezio-4bab9d4216c594159c2eba28ed5a4ac39400c73b.tar.bz2 poezio-4bab9d4216c594159c2eba28ed5a4ac39400c73b.tar.xz poezio-4bab9d4216c594159c2eba28ed5a4ac39400c73b.zip |
Some function rewriting and docstrings for bookmark.py
Diffstat (limited to 'src/core.py')
-rw-r--r-- | src/core.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core.py b/src/core.py index ecb0dfdd..6f78b8c3 100644 --- a/src/core.py +++ b/src/core.py @@ -1756,8 +1756,8 @@ class Core(object): bm.password = password if autojoin: bm.autojoin = autojoin - bookmark.save_remote(self.xmpp, self) - self.information('Bookmark added.', 'Info') + if bookmark.save_remote(self.xmpp, self): + self.information('Bookmark added.', 'Info') def command_set(self, arg): """ |