pygpo: use correct method flags