mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-07-07 05:42:06 +08:00
mixed up
This commit is contained in:
@@ -63,9 +63,9 @@ class Calibrator():
|
||||
|
||||
# Read calibration
|
||||
if param_put:
|
||||
calibration_params = None
|
||||
else:
|
||||
calibration_params = Params().get("CalibrationParams")
|
||||
else:
|
||||
calibration_params = None
|
||||
if calibration_params:
|
||||
try:
|
||||
calibration_params = json.loads(calibration_params)
|
||||
|
||||
Reference in New Issue
Block a user