Skip to content

Commit 4436ae8

Browse files
committed
Changed plugins module import back to the old one
The module name on FL Studio betas is different on FL Studio 20.7.3.
1 parent a986585 commit 4436ae8

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 plugin
13+
import plugins
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 (plugin.isValid(channels.channelNumber()) == True): # Checks if plugin exists
933+
if (plugins.isValid(channels.channelNumber()) == True): # Checks if plugin exists
934934
# If it does, sends the instance ID
935-
if plugin.getPluginName(channels.channelNumber()) == "Komplete Kontrol":
936-
nihia.mixerSendInfo("KOMPLETE_INSTANCE", 0, info=plugin.getParamName(0, channels.channelNumber()))
935+
if plugins.getPluginName(channels.channelNumber()) == "Komplete Kontrol":
936+
nihia.mixerSendInfo("KOMPLETE_INSTANCE", 0, info=plugins.getParamName(0, channels.channelNumber()))
937937

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

0 commit comments

Comments
 (0)