diff --git a/src/yunohost/app.py b/src/yunohost/app.py index 7cbdabfb1..9b2790bba 100644 --- a/src/yunohost/app.py +++ b/src/yunohost/app.py @@ -1554,8 +1554,8 @@ def _parse_appid(appid): True """ match = re_appid.match(appid) - appid = m.groupdict().get('appid') - appinstance = int(m.groupdict().get('appinstance')) if m.groupdict().get('appinstance') is not None else 1 + appid = match.groupdict().get('appid') + appinstance = int(match.groupdict().get('appinstance')) if match.groupdict().get('appinstance') is not None else 1 return (appid, appinstance) def is_true(arg):