fix remove unnecessary else after return

Signed-off-by: EstherLerouzic <esther.lerouzic@orange.com>
Change-Id: I61dc58f15c8f03a686437e19a36ac0afe35904e9
This commit is contained in:
EstherLerouzic
2024-04-12 09:46:06 +02:00
parent 1722fbec13
commit 89a962ffaf

View File

@@ -247,8 +247,7 @@ def estimate_raman_gain(node, equipment, power_dbm):
node.estimated_gain = estimated_gain
SimParams.set_params(save_sim_params)
return round(estimated_gain, 2)
else:
return 0.0
return 0.0
def span_loss(network, node, equipment, input_power=None):