sckott / habanero

client for Crossref search API

Home Page:https://habanero.readthedocs.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

style not functioning/not getting passed to request

ColinTalbert opened this issue · comments

I can't seem to get different citation styles to work. I think I've tracked the problem down to:
https://github.com/sckott/habanero/blob/master/habanero/cnrequest.py#L46

if I copy/duplicate the lines:
https://github.com/sckott/habanero/blob/master/habanero/cnrequest.py#L39-L40
after that line it starts working for me.

Environment: Windows 64, Python 3.4, habanero installed from: https://anaconda.org/conda-forge/habanero

I can submit a pull request if you think it worthwhile

@talbertc-usgs thanks for this. Your reasoning looks right to me. Sorry I missed that. A PR would be great. Can you include a test too for that fix?

Okay, thanks