gigalixir / gigalixir-cli

MIT License
52 stars 45 forks source link

Fixes NoneType object bug #18

Closed aleph-naught2tog closed 6 years ago

aleph-naught2tog commented 6 years ago

If a user goes to do gigalixir access:add <email_here>, they get the error 'NoneType' object has no attribute 'encode'. If a user does gigalixir access:add <email_here> -a <name_of_app>, the command will succeed. Even if the other commands don't need the explicit app name because it is already set, this one seemed to. Adding the @detect_app_name decorator does in fact fix it.