remove hardcoded string from template
This commit is contained in:
parent
c04bed6334
commit
3651c63874
|
@ -294,7 +294,8 @@ class Filter:
|
|||
|
||||
soup = BeautifulSoup(render_template('imageresults.html',
|
||||
length=len(results),
|
||||
results=results),
|
||||
results=results,
|
||||
view_label="View Image"),
|
||||
features='html.parser')
|
||||
# replace search input object
|
||||
soup.find_all('td',
|
||||
|
|
|
@ -86,7 +86,7 @@
|
|||
<div class="Tor4Ec">
|
||||
<span class="qXLe6d F9iS2e">
|
||||
<span class="fYyStc">
|
||||
View image
|
||||
{{ view_label }}
|
||||
</span>
|
||||
</span>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue
Block a user