Fix FlagEnum print issue by using build-in getattr() function
Merge pull request #30 from wsadkj/ce39

Fix FlagEnum print issue by using build-in getattr() function