Commit dfe5b23b authored by PidgeyL's avatar PidgeyL
Browse files

bugfix search page minimal

parent 593f2b8b
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -50,7 +50,6 @@ app.config['SECRET_KEY'] = str(random.getrandbits(256))
pageLength = Configuration.getPageLength()

# db connectors
db = Configuration.getMongoConnection()
redisdb = Configuration.getRedisVendorConnection()

# functions
@@ -258,7 +257,7 @@ def searchText():
    try:
        cve=dbLayer.getFreeText(search)
    except:
        return render_template('error.html', status={'except':'textsearch-not-enabled'})
        return render_template('error.html', status={'except':'textsearch-not-enabled'}, minimal=True)
    return render_template('search.html', cve=cve, minimal=True)