[FIX] removed useless parameters in if statement
[FIX] all py files in module PEP8