mirror of
git://github.com/kovidgoyal/calibre.git
synced 2025-12-22 15:36:11 +01:00
Remove call to read_data() as it no longer exists
This commit is contained in:
parent
9b3d5d486b
commit
b83a299bfd
1 changed files with 2 additions and 10 deletions
|
|
@ -473,16 +473,8 @@ def display_received_live_css_data(self, data):
|
|||
# error in the web view
|
||||
self.start_update_timer()
|
||||
return
|
||||
if self.now_showing == (None, None, None) or self.now_showing[0] != self.current_name:
|
||||
self.clear()
|
||||
return
|
||||
# Try to refresh the data for the currently shown tag instead
|
||||
# of clearing
|
||||
editor_name, sourceline, tags = self.now_showing
|
||||
data = self.read_data(sourceline, tags)
|
||||
if data is None or len(data['computed_css']) < 1:
|
||||
self.clear()
|
||||
return
|
||||
self.clear()
|
||||
return
|
||||
self.now_showing = (editor_name, sourceline, tags)
|
||||
data['html_name'] = editor_name
|
||||
self.box.show_data(data)
|
||||
|
|
|
|||
Loading…
Reference in a new issue