diff options
author | Sascha Silbe <sascha-pgp@silbe.org> | 2010-12-05 17:00:21 (GMT) |
---|---|---|
committer | Gonzalo Odiard <godiard@sugarlabs.org> | 2011-01-20 16:48:25 (GMT) |
commit | 563347fd1ae1352a1c518d4ae12c5accf0a534bc (patch) | |
tree | ac0a996f3647648708bde10b6589f2f4c4255590 /readbookmark.py | |
parent | 91eab1caa3bcf96e0027674e112018f689233c5e (diff) |
fix EOL spaces
Signed-off-by: Sascha Silbe <sascha-pgp@silbe.org>
Diffstat (limited to 'readbookmark.py')
-rw-r--r-- | readbookmark.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/readbookmark.py b/readbookmark.py index 5ac9b24..27b1319 100644 --- a/readbookmark.py +++ b/readbookmark.py @@ -26,10 +26,10 @@ class Bookmark: self.nick = data[4] self.color = data[5] self.local = data[6] - + def belongstopage(self, page_no): - return self.page_no == page_no - + return self.page_no == page_no + def is_local(self): return bool(self.local) @@ -43,8 +43,8 @@ class Bookmark: def get_note_body(self): if self.content == '' or self.content is None: return '' - + note = cjson.decode(self.content) return note['body'] - + |