fix attribute error when --interactive not used
Merge pull request #142 from coryb/testing

fix attribute error when --interactive not used