vast-ai / vast-python

Vast.ai python and cli api client
MIT License
117 stars 44 forks source link

show user --raw, fix breaking json #26

Closed fullstackwebdev closed 2 years ago

fullstackwebdev commented 2 years ago

https://github.com/vast-ai/vast-python/blob/ab05424498d06f148a53a7dd0e781cdf08739aab/vast.py#L772-L773

when Show User --raw prints, it accidentally prints 'Current' and 'Raw mode'. This breaks json

fix comment out or fix JSON

 "user": "",
 "username": ""
}
Current:  [}
Raw mode