summaryrefslogtreecommitdiff
path: root/src/bookmark.py
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2014-04-05 14:19:22 +0200
committermathieui <mathieui@mathieui.net>2014-04-05 14:19:22 +0200
commit38061a63977af659ec1e20ad2c23975ae0655c5b (patch)
tree46d3c594bf0d16720f955972a3a554ec7fc33347 /src/bookmark.py
parentd2de6236f2bd7829bbd6653f5ad86b476c8dbbff (diff)
downloadpoezio-38061a63977af659ec1e20ad2c23975ae0655c5b.tar.gz
poezio-38061a63977af659ec1e20ad2c23975ae0655c5b.tar.bz2
poezio-38061a63977af659ec1e20ad2c23975ae0655c5b.tar.xz
poezio-38061a63977af659ec1e20ad2c23975ae0655c5b.zip
Improve /bookmark *
- /bookmark{_local,} * now keeps the order of the tabs, and puts the currently non-opened tabs at the end of the list. - also fix a bug in remote bookmark saving
Diffstat (limited to 'src/bookmark.py')
-rw-r--r--src/bookmark.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bookmark.py b/src/bookmark.py
index 52235d23..fa013d1e 100644
--- a/src/bookmark.py
+++ b/src/bookmark.py
@@ -133,7 +133,7 @@ def save_privatexml(xmpp):
def save_remote(xmpp, method=preferred):
"""Save the remote bookmarks."""
- method = "privatexml" if method != 'pep' else 'pep'
+ method = 'privatexml' if method != 'pep' else 'pep'
try:
if method is 'privatexml':
@@ -144,7 +144,7 @@ def save_remote(xmpp, method=preferred):
method='xep_0223')
except:
import traceback
- log.debug("Could not save the bookmarks:\n%s" % traceback.format_exc())
+ log.error("Could not save the bookmarks:\n%s" % traceback.format_exc())
return False
return True