Permalink
Browse files

Fixed a typo and removed debug statements.

  • Loading branch information...
d4l3k committed Nov 24, 2012
1 parent 85e44aa commit f6be787b7d865246e6d0a5c220560564bb904793
Showing with 1 addition and 3 deletions.
  1. +1 −1 contentprovider.py
  2. +0 −2 ppub.py
View
@@ -99,7 +99,7 @@ def prepare_book(self, filepath):
self.config.set(self.book_md5, "count", 0)
self.config.set(self.book_md5, "chapter", 0)
self.config.set(self.book_md5, "pos", 0.0)
- self.config.set(self.book_md5, "stylesheet,"")
+ self.config.set(self.book_md5, "stylesheet","")
#End of preparations
self.ready = True
View
@@ -444,9 +444,7 @@ def reload_chapter(self):
self.viewer.load_uri("file://"+self.provider.get_chapter_file(self.provider.current_chapter))
def check_current_bookmark(self): #Scroll to bookmark if needed
- print "check_current_bookmark"
if self.current_bookmark != 0 and self.check_current_bookmark_scroll and self.check_current_bookmark_viewer:
- print self.current_bookmark
self.scr_window.get_vadjustment().set_value(self.current_bookmark)
if self.scr_window.get_vadjustment().get_value()!=0.0 and self.scr_window.get_vadjustment().get_value() != self.preload_book_scroll:
self.current_bookmark = 0

0 comments on commit f6be787

Please sign in to comment.