Fix syntax error causing cronjob failure in processor.py