#!/usr/bin/env python
# vim: ai ts=4 sts=4 et sw=4


from rapidsms.conf import settings
from rapidsms.apps.base import AppBase


class App(AppBase):

    def default(self, msg):
        response = settings.DEFAULT_RESPONSE
        if response is not None:
            msg.error(response, project_name=settings.PROJECT_NAME)

#!/usr/bin/env python
# vim: ai ts=4 sts=4 et sw=4


from rapidsms.conf import settings
from rapidsms.apps.base import AppBase


class App(AppBase):

    def default(self, msg):
        response = settings.DEFAULT_RESPONSE
        if response is not None:
            response = response % {'project_name': settings.PROJECT_NAME}
            msg.error(response)

fix default app now that kwargs are no longer passed into message constructor