From 6ad0083f04553c067d4bcea97a9fa8c11d0acccc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Lebleu?= Date: Mon, 30 May 2016 19:06:40 +0200 Subject: [PATCH] [fix] Allow - in app id when parsing app instance name --- src/yunohost/app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/yunohost/app.py b/src/yunohost/app.py index db0052281..c31a0cb30 100644 --- a/src/yunohost/app.py +++ b/src/yunohost/app.py @@ -58,7 +58,7 @@ re_github_repo = re.compile( ) re_app_instance_name = re.compile( - r'^(?P[\w]+?)(__(?P[1-9][0-9]*))?$' + r'^(?P[\w-]+?)(__(?P[1-9][0-9]*))?$' )