Skip to content

Commit 3db5f82

Browse files
committed
fix names table
1 parent 6f4da24 commit 3db5f82

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

page_analyzer/app.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,6 @@ def url_detail(url_id):
103103
return render_template('result.html', url=url, checks=checks)
104104

105105

106-
from urllib.parse import urlparse
107106

108107
@app.route('/check_url/<int:url_id>', methods=['POST'])
109108
def add_check(url_id):
@@ -148,7 +147,7 @@ def add_check(url_id):
148147

149148
conn.commit()
150149
flash('Страница успешно проверена', 'success')
151-
except Exception as e:
150+
except Exception:
152151
conn.rollback()
153152
flash('Произошла ошибка при проверке', 'error')
154153
finally:

0 commit comments

Comments
 (0)