Drop pdb statement

This commit is contained in:
Santiago L 2022-03-08 22:09:03 +01:00 committed by GitHub
parent be2fda3d8c
commit aa9d3bb5a5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -253,7 +253,6 @@ class UploadSnapshotView(GenericMixView):
} }
if form.validate_on_submit(): if form.validate_on_submit():
snapshot = form.save(commit=False) snapshot = form.save(commit=False)
# import pdb; pdb.set_trace()
if lot_id: if lot_id:
lot = lots.filter(Lot.id == lot_id).one() lot = lots.filter(Lot.id == lot_id).one()
lot.devices.add(snapshot.device) lot.devices.add(snapshot.device)