mirror of https://github.com/CIRCL/lookyloo
fix: Avoid "None" in URL field if no predefined URL is given.
parent
e213cb5ae8
commit
60f4a09d28
|
@ -771,7 +771,7 @@ def _prepare_capture_template(user_ua: Optional[str], predefined_url: Optional[s
|
|||
flash('The request will be enqueued, but capturing may take a while and require the administrator to wake up.', 'error')
|
||||
return render_template('capture.html', user_agents=user_agents, default=default_ua,
|
||||
max_depth=max_depth, personal_ua=user_ua,
|
||||
predefined_url_to_capture=predefined_url)
|
||||
predefined_url_to_capture=predefined_url if predefined_url else '')
|
||||
|
||||
|
||||
@app.route('/recapture/<string:tree_uuid>', methods=['GET'])
|
||||
|
|
Loading…
Reference in New Issue