Cloud-CV / evalai-cli

:cloud: :rocket: Official EvalAI Command Line Tool
https://cli.eval.ai
BSD 3-Clause "New" or "Revised" License
55 stars 63 forks source link

[bug] token.json empty causes cli to crash while using get_token command #215

Open pushkalkatara opened 4 years ago

pushkalkatara commented 4 years ago

Check if the json is not empty and has valid token.

bitmaks commented 4 years ago

222 I've added handling for the json file and made sure the token is exists.