Skip to content

Commit

Permalink
allow for unused arguments in _open_link callback, and log them
Browse files Browse the repository at this point in the history
  • Loading branch information
mfrasca committed Jan 6, 2018
1 parent b0cd238 commit 6343f78
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bauble/utils/web.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,10 @@



def _open_link(data=None):
def _open_link(data=None, *args, **kwargs):
"""Open a web link"""
# windows generates odd characters in the uri unless its in ascii
logger.debug("_open_link received data=%s, args=%s, kwargs=%s" % (data, args, kwargs))
import sys
if sys.platform == 'win32':
udata = data.decode("utf-8")
Expand Down

0 comments on commit 6343f78

Please sign in to comment.