Skip to content
Snippets Groups Projects
Commit 0b74f15d authored by Steffen Hauf's avatar Steffen Hauf
Browse files

Remove duplicate line

parent b6137ae3
No related branches found
No related tags found
1 merge request!79Propagate backlog of cal_tools related changes from production system as of 06/2019
...@@ -485,7 +485,6 @@ def get_from_db(device, constant, condition, empty_constant, ...@@ -485,7 +485,6 @@ def get_from_db(device, constant, condition, empty_constant,
if device: if device:
metadata = ConstantMetaData() metadata = ConstantMetaData()
metadata.calibration_constant = constant metadata.calibration_constant = constant
metadata.calibration_constant_version = Versions.Now(device)
metadata.detector_condition = condition metadata.detector_condition = condition
if creation_time is None: if creation_time is None:
metadata.calibration_constant_version = Versions.Now(device=device) metadata.calibration_constant_version = Versions.Now(device=device)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment