Commit 06de8803 authored by Dmitry Luhtionov's avatar Dmitry Luhtionov

Fix copy/paste error

parent d0816ee8
Pipeline #10974 passed with stages
in 1 minute and 42 seconds
......@@ -88,7 +88,7 @@ class Script(BaseScript):
elif "Power Module" in descr or "Power Supply" in descr:
numbers = name.split()[1].split("/")
if len(numbers) == 4: # 0/PS0/M1/SP
number = numbers[2][2:]
number = numbers[2][1:]
else: # 0/PM0/SP
number = numbers[1][2:]
return "PWR", number, pid
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment