Skip to content

Commit

Permalink
Python v2.7 compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
caronc committed Aug 18, 2020
1 parent ebed0fa commit 633495e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apprise/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -572,7 +572,7 @@ def parse_bool(arg, default=False):
return bool(arg)


def parse_emails(*args, store_unparseable=True):
def parse_emails(store_unparseable=True, *args):
"""
Takes a string containing URLs separated by comma's and/or spaces and
returns a list.
Expand Down Expand Up @@ -603,7 +603,7 @@ def parse_emails(*args, store_unparseable=True):
return result


def parse_urls(*args, store_unparseable=True):
def parse_urls(store_unparseable=True, *args):
"""
Takes a string containing URLs separated by comma's and/or spaces and
returns a list.
Expand Down

0 comments on commit 633495e

Please sign in to comment.