fokoid / socman

A library to manage society membership along with CLI and GUI interfaces
MIT License
0 stars 0 forks source link

add_member raises BadMemberError on member with exactly one of name and barcode #9

Closed fokoid closed 8 years ago

fokoid commented 8 years ago

add_member should raise socman.BadMemberError if passed a member which is None or of which both the name and barcode are None. However, at present it also raises this is either of the name or barcode (but not both) is None.

fokoid commented 8 years ago

Fixed in 3c616499f571914d7ee426f0111acb2b7206ced0.