From 3641dead2edba23677d3a612c1126b85d20a2d10 Mon Sep 17 00:00:00 2001 From: Julien Malik Date: Wed, 16 Mar 2016 11:02:17 +0100 Subject: [PATCH] [fix] Wrong copy-paste of code --- src/yunohost/app.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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):