A generalization of a result of R. Lyons about measures on [0, 1)