mirror of
https://github.com/YunoHost/moulinette.git
synced 2024-09-03 20:06:31 +02:00
App setting bugfix
This commit is contained in:
parent
2c5b7371bb
commit
7bf50c672c
1 changed files with 1 additions and 3 deletions
4
yunohost
4
yunohost
|
@ -138,9 +138,7 @@ def main():
|
||||||
display_error(error, json_print)
|
display_error(error, json_print)
|
||||||
return error.code
|
return error.code
|
||||||
else:
|
else:
|
||||||
if json_print or not os.isatty(1):
|
if json_print or not os.isatty(1) and result is not None:
|
||||||
if result is None:
|
|
||||||
result = {}
|
|
||||||
if len(win) > 0:
|
if len(win) > 0:
|
||||||
result['success'] = win
|
result['success'] = win
|
||||||
print(json.dumps(result))
|
print(json.dumps(result))
|
||||||
|
|
Loading…
Add table
Reference in a new issue