Fixed pep8 warning and small bug where self.debug was called instead of log.debug