Skip to content

Commit ec368e2

Browse files
authored
Eliminated non-essential warning log in mailto:// parsing (#1216)
1 parent 130edde commit ec368e2

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

apprise/plugins/email.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@
5252
from ..conversion import convert_between
5353
from ..utils import is_ipaddr, is_email, parse_emails, is_hostname, parse_bool
5454
from ..locale import gettext_lazy as _
55-
from ..logger import logger
5655

5756
try:
5857
import pgpy
@@ -1440,14 +1439,9 @@ def parse_url(url):
14401439
from_addr = NotifyEmail.unquote(results['qsd']['from'])
14411440

14421441
if 'name' in results['qsd'] and len(results['qsd']['name']):
1443-
# Depricate use of both `from=` and `name=` in the same url as
1444-
# they will be synomomus of one another in the future.
14451442
from_addr = formataddr(
14461443
(NotifyEmail.unquote(results['qsd']['name']), from_addr),
14471444
charset='utf-8')
1448-
logger.warning(
1449-
'Email name= and from= are synonymous; '
1450-
'use one or the other.')
14511445

14521446
elif 'name' in results['qsd'] and len(results['qsd']['name']):
14531447
# Extract from name to associate with from address

0 commit comments

Comments
 (0)