From df4f4166cc7693eb4fbde89394dbf624516f43f6 Mon Sep 17 00:00:00 2001 From: Tristan Rowley Date: Sun, 19 Jan 2020 15:06:49 +0000 Subject: [PATCH] fix to prevent crash when non-APC Key was connected! silly typo --- data_centre/data.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data_centre/data.py b/data_centre/data.py index 9750dbf..72f858e 100644 --- a/data_centre/data.py +++ b/data_centre/data.py @@ -116,7 +116,7 @@ class Data(object): print ("loaded custom midi mapping for %s" % custom_file) else: print ("loading default midi mapping for %s" % (device_name)) - self.midi_mappings = self._read_json(self.MIDI_MAPPINGS_JSON) + self.midi_mappings = self._read_json(self.MIDI_MAPPING_JSON) return self.midi_mappings @staticmethod