Skip to content

Commit d4d0b8d

Browse files
Update utils.py
1 parent 29673be commit d4d0b8d

File tree

1 file changed

+8
-9
lines changed

1 file changed

+8
-9
lines changed

resources/lib/utils.py

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -37,15 +37,14 @@ def updateSavedAddonVersion():
3737

3838
def intToCompString(comp):
3939
switch = {
40-
0: "GRABBER",
41-
1: "V4L",
42-
2: "LEDDEVICE",
43-
3: "SMOOTHING",
44-
4: "BLACKBORDER",
45-
5: "FORWARDER",
46-
6: "UDPLISTENER",
47-
7: "BOBLIGHTSERVER",
48-
8: "ALL",
40+
0: "COMP_GRABBER",
41+
1: "COMP_V4L",
42+
2: "COMP_LEDDEVICE",
43+
3: "COMP_SMOOTHING",
44+
4: "COMP_BLACKBORDER",
45+
5: "COMP_FORWARDER",
46+
6: "COMP_BOBLIGHTSERVER",
47+
7: "COMP_ALL",
4948
}
5049
return switch.get(comp, "NOT_FOUND")
5150

0 commit comments

Comments
 (0)