Update weightUpdater.py

Formating