Bad indentation and tailing whitespaces

This commit is contained in:
Carsten Grohmann 2020-04-07 14:47:48 +02:00
parent 23f064f2b7
commit 7b80e1b23a

View File

@ -995,7 +995,7 @@ Killed process 6576 (java) total-vm:33914892kB, anon-rss:20629004kB, file-rss:0k
if not (is_visible(element) and element.id):
continue
new_toc +='<li><a href="#{}">{}</a></li>'.format(element.id, element.textContent)
new_toc += '<li><a href="#{}">{}</a></li>'.format(element.id, element.textContent)
toc_content.innerHTML = new_toc
@ -1049,11 +1049,11 @@ Killed process 6576 (java) total-vm:33914892kB, anon-rss:20629004kB, file-rss:0k
if column_name == self.sorted_column:
if self.sort_order == 'descending':
element.innerHTML=self.svg_array_down
element.innerHTML = self.svg_array_down
else:
element.innerHTML=self.svg_array_up
element.innerHTML = self.svg_array_up
else:
element.innerHTML=self.svg_array_updown
element.innerHTML = self.svg_array_updown
def set_HTML_defaults(self, clean_oom=True):
"""Reset the HTML document but don't clean elements"""