diff --git a/apprise/Apprise.py b/apprise/Apprise.py index 02bd7c325..608359d94 100644 --- a/apprise/Apprise.py +++ b/apprise/Apprise.py @@ -326,7 +326,8 @@ def notify(self, body, title='', notify_type=NotifyType.INFO, notify_type=notify_type, body_format=body_format, tag=tag, attach=attach, interpret_escapes=interpret_escapes, - ) + ), + debug=self.debug ) else: @@ -377,8 +378,7 @@ def async_notify(self, *args, **kwargs): else: if len(coroutines) > 0: # All notifications sent, return False if any failed. - return py3compat.asyncio.notify( - coroutines, debug=self.debug) + return py3compat.asyncio.notify(coroutines) else: # No notifications sent. diff --git a/apprise/py3compat/asyncio.py b/apprise/py3compat/asyncio.py index 242074cf8..3724c8a02 100644 --- a/apprise/py3compat/asyncio.py +++ b/apprise/py3compat/asyncio.py @@ -38,7 +38,7 @@ # async reference produces a SyntaxError (E999) in Python v2.7 # For this reason we turn on the noqa flag -async def notify(coroutines, debug=False): # noqa: E999 +async def notify(coroutines): # noqa: E999 """ An async wrapper to the AsyncNotifyBase.async_notify() calls allowing us to call gather() and collect the responses