Skip to content

Commit a986585

Browse files
committed
Merge branch 'beta'
2 parents 60f9c6f + 7dcc2b3 commit a986585

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

device_Komplete Kontrol.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
import launchMapPages
1111
import playlist
1212
import ui
13-
import plugins
13+
import plugin
1414
import channels
1515

1616
import midi
@@ -930,10 +930,10 @@ def TOnRefresh(HW_Dirty_LEDs):
930930
# nihia.mixerSendInfoSelected("SELECTED", "EMPTY")
931931

932932
# Check if the selected plugin is a Komplete Kontrol instance
933-
if (plugins.isValid(channels.channelNumber()) == True): # Checks if plugin exists
933+
if (plugin.isValid(channels.channelNumber()) == True): # Checks if plugin exists
934934
# If it does, sends the instance ID
935-
if plugins.getPluginName(channels.channelNumber()) == "Komplete Kontrol":
936-
nihia.mixerSendInfo("KOMPLETE_INSTANCE", 0, info=plugins.getParamName(0, channels.channelNumber()))
935+
if plugin.getPluginName(channels.channelNumber()) == "Komplete Kontrol":
936+
nihia.mixerSendInfo("KOMPLETE_INSTANCE", 0, info=plugin.getParamName(0, channels.channelNumber()))
937937

938938
# If it doesn't, tells the keyboard about it
939939
else:

0 commit comments

Comments
 (0)