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

Fix for issue #28 #36

Merged
merged 1 commit into from
Aug 25, 2019
Merged

Fix for issue #28 #36

merged 1 commit into from
Aug 25, 2019

Conversation

ricardog
Copy link

Hi --

This is a quick change to fix issue #28 (incorrect format for dates). The change should work for python 2 and 3 (unsure if you still support python 2).

I also included a minor change that fixes error messages in the log. When the error is the result of an exception the message is a string not a tuple.

Non-numeric elements of dates were printed with a b'' wrapper (since
they are bytes), e.g.

    Date: b'Wed', 12 b'Jun' 2019 08:28:30 GMT

This change converts the elements to a string representation to remove
the b'' wrapper.
@netom netom merged commit 1e7b89b into netom:master Aug 25, 2019
@netom
Copy link
Owner

netom commented Aug 25, 2019

Awsome, thank you. Supporting python 2 is still important, I'd like to continue with that.

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

Successfully merging this pull request may close these issues.

2 participants