Fix pylint errors 

- added logger back into `schedule.py`
- fixed indenting in `localemod/.py`