Use the native separator displaying pathnames
[bertos.git] / wizard / bertos_utils.py
index cfaf2a7fd631f4f0a18f3c0f4f5d662c4845fac9..b74245bfec2c18b54971af526d40dee011177dc8 100644 (file)
@@ -287,6 +287,7 @@ def loadModuleData(project):
             except ParseError, err:
                 raise DefineException.ModuleDefineException(path, err.line_number, err.line)
             for module, information in moduleDict.items():
+                information["category"] = os.path.basename(path)
                 if "configuration" in information.keys() and len(information["configuration"]):
                     configuration = moduleDict[module]["configuration"]
                     try: