check if mygpo is enabled before calling .flush()

to avert a warning..
Merge pull request #109 from zombie/flush-warn

check if mygpo is enabled before calling .flush()