Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Regression introduced by last update #2

Closed
aebe opened this issue Jan 6, 2015 · 1 comment
Closed

Regression introduced by last update #2

aebe opened this issue Jan 6, 2015 · 1 comment

Comments

@aebe
Copy link

aebe commented Jan 6, 2015

Running sample.py with the current version of the code results in the following error (under Python 2.7.5):

Traceback (most recent call last):
  File "sample.py", line 16, in <module>
    for item in prices['items']:
  File "C:\Users\Jonathan\Documents\EVE\crespy-master\crespy-master\crespy.py",
line 42, in __getitem__
    child._headers = self._headers
AttributeError: 'list' object has no attribute '_headers'

I'm not sure why we need headers if the child is not a href, but if we really need to keep them we need to make child a class which has a _headers attribute defined.

@aebe aebe changed the title Regression introduced by last pull request Regression introduced by last update Jan 6, 2015
jgoldshlag added a commit that referenced this issue Jan 6, 2015
@jgoldshlag
Copy link
Owner

This should be fixed now, though I haven't tried auth CREST, so I am not sure this fixes the original issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants