Update public source
This commit is contained in:
+6
-1
@@ -135,7 +135,8 @@ def wants_json_error():
|
|||||||
))
|
))
|
||||||
or request.path in {
|
or request.path in {
|
||||||
"/reports/vendors/update",
|
"/reports/vendors/update",
|
||||||
"/reports/search/data"
|
"/reports/search/data",
|
||||||
|
"/reports/search/cracklab",
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|
||||||
@@ -1920,6 +1921,8 @@ def reports_search_cracklab():
|
|||||||
|
|
||||||
try:
|
try:
|
||||||
|
|
||||||
|
reports_conn.execute("BEGIN")
|
||||||
|
|
||||||
access_points = search_access_points(
|
access_points = search_access_points(
|
||||||
reports_conn,
|
reports_conn,
|
||||||
criteria
|
criteria
|
||||||
@@ -1936,6 +1939,8 @@ def reports_search_cracklab():
|
|||||||
for handshake in items
|
for handshake in items
|
||||||
]
|
]
|
||||||
|
|
||||||
|
reports_conn.rollback()
|
||||||
|
|
||||||
if not handshake_ids:
|
if not handshake_ids:
|
||||||
|
|
||||||
return jsonify(
|
return jsonify(
|
||||||
|
|||||||
Reference in New Issue
Block a user