Skip to content

Commit

Permalink
bugfix catch passing None to requests as kwargs
Browse files Browse the repository at this point in the history
  • Loading branch information
PFWhite committed Jul 20, 2017
1 parent 3e1e29d commit 7824ef2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# cappy v1.1.0
# cappy v1.1.1
The Redcap API library that you build yourself.

## Ideology ##
Expand Down
2 changes: 1 addition & 1 deletion cappy/cap.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def __init__(self, token, endpoint, version_file, requests_options={}):
auto generated API functions
"""
version_path = utils.path_for_version(version_file)
self.requests_options = requests_options
self.requests_options = requests_options or {}
with open(version_path, 'r') as api_def:
version_data = yaml.load(api_def.read())
self.api_definition = version_data.get('api_def') or version_data
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from setuptools import setup

setup(name='cappy',
version='1.1.0',
version='1.1.1',
description='The redcap api you build yourself',
url='http://github.com/pfwhite/cappy',
author='Patrick White',
Expand Down

0 comments on commit 7824ef2

Please sign in to comment.