Skip to content

Commit

Permalink
Clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
facelessuser committed Mar 1, 2015
1 parent b8f74d1 commit e108baa
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion lib/color_box.py
Expand Up @@ -75,4 +75,4 @@ def color_box(color, border, size=16, border_size=1, check_size=4):
f.seek(0)
return "<img src=\"data:image/png;base64,%s\">" % (
base64.b64encode(f.read()).decode('ascii')
)
)
6 changes: 3 additions & 3 deletions scope_hunter.py
Expand Up @@ -537,13 +537,13 @@ def run(self, v):

if self.show_popup:
if self.scheme_info or self.rowcol_info or self.points_info or self.file_path_info:
copy_all = '<div class="divider"></div><a href="copy-all" class="copy-link">(copy all)</a></div>'
tail = '<div class="divider"></div><a href="copy-all" class="copy-link">(copy all)</a></div>'
else:
copy_all = ''
tail = '</div>'
self.view.show_popup(
'<div class="content">' +
''.join(self.scope_bfr_tool) +
copy_all,
tail,
location=-1, max_width=600, on_navigate=self.on_navigate
)

Expand Down

0 comments on commit e108baa

Please sign in to comment.