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)
|
||||
return error.code
|
||||
else:
|
||||
if json_print or not os.isatty(1):
|
||||
if result is None:
|
||||
result = {}
|
||||
if json_print or not os.isatty(1) and result is not None:
|
||||
if len(win) > 0:
|
||||
result['success'] = win
|
||||
print(json.dumps(result))
|
||||
|
|
Loading…
Add table
Reference in a new issue