-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
KeyError: last-modified
in kaggle_api_extended.py
#513
Comments
What is the API command I can use to reproduce this problem? |
I can confirm that the issue still persists, and modifying the function locally with the change in the PR fixes the issue. Sample script to reproduce the error:
|
still face this problem when running |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This line of code (1829-1830):
remote_date = datetime.strptime(response.headers['Last-Modified'], '%a, %d %b %Y %H:%M:%S %Z')
in
kaggle/api/kaggle_api_extended.py
tries to access non-existent key "last-modified" fromresponses.headers
.kaggle version: 1.5.16
The text was updated successfully, but these errors were encountered: