Update scan_trend.py

Remove non-working commented code.