Use default AppriseAsset if not set when using add() (#135)

pull/136/head
Senan Kelly 2019-07-08 16:40:50 +01:00 committed by Chris Caron
parent f3d335b748
commit 495c363b5c
1 changed files with 1 additions and 1 deletions

View File

@ -212,7 +212,7 @@ class Apprise(object):
# Initialize our return status
return_status = True
if isinstance(asset, AppriseAsset):
if asset is None:
# prepare default asset
asset = self.asset