diff --git a/braviarc/braviarc.py b/braviarc/braviarc.py index edde6b1..eddb91a 100644 --- a/braviarc/braviarc.py +++ b/braviarc/braviarc.py @@ -145,7 +145,7 @@ def load_source_list(host, cookie): if not resp.get('error'): original_content_list.extend(resp.get('result')[0]) - return_value = [] + return_value = {} for content_item in original_content_list: return_value[content_item['title']] = content_item['uri'] return return_value diff --git a/setup.py b/setup.py index 908badf..182a800 100644 --- a/setup.py +++ b/setup.py @@ -15,7 +15,7 @@ # and be sure to test it firstly using "python setup.py register sdist upload -r pypitest" setup(name='braviarc', # version=open(os.path.join(CURRENT_DIR, 'xgboost/VERSION')).read().strip(), - version='0.2', + version='0.2.1', description=open(os.path.join(CURRENT_DIR, 'README.md')).read(), install_requires=['requests'], maintainer='Antonio Parraga', diff --git a/setup_pip.py b/setup_pip.py index 908badf..182a800 100644 --- a/setup_pip.py +++ b/setup_pip.py @@ -15,7 +15,7 @@ # and be sure to test it firstly using "python setup.py register sdist upload -r pypitest" setup(name='braviarc', # version=open(os.path.join(CURRENT_DIR, 'xgboost/VERSION')).read().strip(), - version='0.2', + version='0.2.1', description=open(os.path.join(CURRENT_DIR, 'README.md')).read(), install_requires=['requests'], maintainer='Antonio Parraga',