mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
[fix] Do not force json encoding - remove previous compatibility
This commit is contained in:
parent
d8c5121010
commit
c47951e424
1 changed files with 1 additions and 4 deletions
|
@ -32,10 +32,7 @@ if __name__ == '__main__':
|
||||||
json = True
|
json = True
|
||||||
sys.argv.remove('--json')
|
sys.argv.remove('--json')
|
||||||
|
|
||||||
## Compatibility with previous moulinette
|
# Retrieve remaining arguments
|
||||||
if not os.isatty(1):
|
|
||||||
json = True
|
|
||||||
|
|
||||||
args = list(sys.argv)
|
args = list(sys.argv)
|
||||||
args.pop(0)
|
args.pop(0)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue