mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
[fix] Wrong copy-paste of code
This commit is contained in:
parent
34154b0157
commit
3641dead2e
1 changed files with 2 additions and 2 deletions
|
@ -1554,8 +1554,8 @@ def _parse_appid(appid):
|
||||||
True
|
True
|
||||||
"""
|
"""
|
||||||
match = re_appid.match(appid)
|
match = re_appid.match(appid)
|
||||||
appid = m.groupdict().get('appid')
|
appid = match.groupdict().get('appid')
|
||||||
appinstance = int(m.groupdict().get('appinstance')) if m.groupdict().get('appinstance') is not None else 1
|
appinstance = int(match.groupdict().get('appinstance')) if match.groupdict().get('appinstance') is not None else 1
|
||||||
return (appid, appinstance)
|
return (appid, appinstance)
|
||||||
|
|
||||||
def is_true(arg):
|
def is_true(arg):
|
||||||
|
|
Loading…
Add table
Reference in a new issue