Drop pdb statement
This commit is contained in:
parent
be2fda3d8c
commit
aa9d3bb5a5
|
@ -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)
|
||||||
|
|
Reference in New Issue