stopped script from printing warnings when no face assignment was detected.
Fixed PEP8 errors aswell