python cli: add python2 support

Tested using python 3.7.4 and python 2.7.16
This commit is contained in:
Nicola Murino
2019-08-05 11:11:29 +02:00
parent 4dc52ee3e9
commit 4009a93713
2 changed files with 16 additions and 3 deletions

View File

@@ -202,6 +202,16 @@ Command:
python sftpgo_api_cli.py start_quota_scan test_username
```
Output:
```json
{
"status": 201,
"message": "Scan started",
"error": ""
}
```
### Delete user
Command: