Skip to content

Commit

Permalink
Unfix the fix :/
Browse files Browse the repository at this point in the history
  • Loading branch information
gracexin2003 committed Sep 20, 2023
1 parent 96fdc84 commit 0713726
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion albumy/blueprints/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,6 @@ def delete_photo(photo_id):
abort(403)

db.session.delete(photo)
db.session.commit()
flash('Photo deleted.', 'info')

photo_n = Photo.query.with_parent(photo.author).filter(Photo.id < photo_id).order_by(Photo.id.desc()).first()
Expand Down

0 comments on commit 0713726

Please sign in to comment.