diff --git a/modules.py b/modules.py index a22a7b5e3f666fa4acfbc9c8123317bede2484e8..cd5106abb01a6247b09a5a31910e92d4c1968f59 100755 --- a/modules.py +++ b/modules.py @@ -74,6 +74,8 @@ if __name__ == "__main__": continue first_module_path = os.path.join(software_path, software_versions[0]) software_url, software_description = get_module_description(first_module_path) + if software_description=="": + software_description="Old module, description not available. Use command `ml show NAME_MODULE`" HTML_SOURCE_DATA[dir][soft] = {'versions': [], 'url': software_url, 'description': software_description}