Skip to content

Commit

Permalink
Fix bug where client expects data to be mandatory
Browse files Browse the repository at this point in the history
  • Loading branch information
ritiek committed Dec 28, 2017
1 parent 9b3e488 commit b0cf114
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion muxnect/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
__version__ = '0.1.0'
__version__ = '0.1.1'

from .client import Client
2 changes: 1 addition & 1 deletion muxnect/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ def __init__(self, endpoint, default_data=None):
self.default_data = default_data
self.endpoint = endpoint

def send(self, keys, data):
def send(self, keys, data={}):
data['keys'] = keys

if isinstance(self.default_data, dict):
Expand Down

0 comments on commit b0cf114

Please sign in to comment.