mirror of https://github.com/caronc/apprise
Use default AppriseAsset if not set when using add() (#135)
parent
f3d335b748
commit
495c363b5c
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue