Semi-automatically remove trailing whitespace.
Looks like the old code missed a 'self.'.
Simplified a bit.
Merge branch 'hotfix-fix-a-self' into develop

Conflicts:
	AnkiServer/apps/sync_app.py