Skip to content

Commit

Permalink
Update run.py
Browse files Browse the repository at this point in the history
  • Loading branch information
SiJiDo authored Jan 13, 2022
1 parent 626c7d9 commit ae1b7ee
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/scan/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ def stopscan():
id = request.args.get('id')
pid = ""
db.session.query(Target).filter(Target.id == id).update({'target_pid':0})
db.session.query(Target).filter(Target.id == id).update({'target_status':0})
db.session.commit()
try:
target = db.session.query(Target).filter(Target.id == id).first()
Expand Down

0 comments on commit ae1b7ee

Please sign in to comment.