bugfix in compass.py filter

With respect to the comment in https://github.com/miracle2k/webassets/pull/309