mirror of
https://github.com/caronc/apprise.git
synced 2025-03-10 21:08:23 +01:00
bugfix with email plugin and targets in url() call
This commit is contained in:
parent
d9c5e9f7ac
commit
a3abe06bbf
@ -592,7 +592,7 @@ class NotifyEmail(NotifyBase):
|
||||
hostname=NotifyEmail.quote(self.host, safe=''),
|
||||
port='' if self.port is None or self.port == default_port
|
||||
else ':{}'.format(self.port),
|
||||
targets='' if has_targets else '/'.join(
|
||||
targets='' if not has_targets else '/'.join(
|
||||
[NotifyEmail.quote(x, safe='') for x in self.targets]),
|
||||
args=NotifyEmail.urlencode(args),
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user