about summary refs log tree commit diff
path: root/pkgs/tools/networking/maubot/plugins/update.py
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/tools/networking/maubot/plugins/update.py')
-rwxr-xr-xpkgs/tools/networking/maubot/plugins/update.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/tools/networking/maubot/plugins/update.py b/pkgs/tools/networking/maubot/plugins/update.py
index a430753870fb9..d787f1f250952 100755
--- a/pkgs/tools/networking/maubot/plugins/update.py
+++ b/pkgs/tools/networking/maubot/plugins/update.py
@@ -31,7 +31,7 @@ def process_repo(path: str, official: bool):
     origurl = repourl
     if '/' in name or ' ' in name:
         name = os.path.split(path)[-1].removesuffix('.yaml')
-    name = name.replace('_', '-')
+    name = name.replace('_', '-').lower()
     if name in PLUGINS.keys():
         raise ValueError(f'Duplicate plugin {name}, refusing to continue')
     repodir = os.path.join(TMP, 'maubot-plugins', name)