MestreLion / humblebundle

API for managing Humble Bundle games library
GNU General Public License v3.0
211 stars 38 forks source link

list_human is always triggered #48

Closed Sodki closed 6 years ago

Sodki commented 6 years ago

list_human is defined as a boolean, but then the test has this:

elif args.list_human is not None:

This is always true since False is not None.

MestreLion commented 6 years ago

Thanks @Sodki for pointing this out!!! After careful review I realized --list-human was ill-conceived: it should always have been a flag to --list/--list-bundles, not a command by itself.