sort-notify.py: fix wrong variable name