Fixing function main after PEP changes
Merge branch 'master' of github.com:julfla/periscope