Update views.py

implemented CORE_AFFIX_DISCREPANCY properly instead of just dicking around