From ee49f7ea7b4dcfce96163b7f3b9471d94e5884f9 Mon Sep 17 00:00:00 2001 From: Tristan Rowley Date: Fri, 10 Jan 2020 17:59:27 +0000 Subject: [PATCH] tidied up a little --- data_centre/data.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/data_centre/data.py b/data_centre/data.py index ddf4eb6..a839388 100644 --- a/data_centre/data.py +++ b/data_centre/data.py @@ -106,7 +106,7 @@ class Data(object): custom_file = self.MIDI_MAPPING_JSON.replace(".json","_%s.json"%device_name) if os.path.isfile(self.PATH_TO_DATA_OBJECTS + custom_file): self.midi_mappings = self._read_json(custom_file) - self.message_handler.set_message('INFO', "Loaded %s for %s" % (custom_file, device_name)) #the slot you pressed is empty') + self.message_handler.set_message('INFO', "Loaded %s for %s" % (custom_file, device_name)) print ("loaded custom midi mapping for %s" % custom_file) else: print ("loading default midi mapping for %s" % (device_name)) @@ -135,7 +135,7 @@ class Data(object): def _read_plugin_json(self, file_name): for path in self.PATHS_TO_PLUGIN_DATA: - print("trying path %s"%path) + print("loading plugin data %s" % path) try: with open("%s/%s" % (path,file_name)) as data_file: data = json.load(data_file)