Skip to content

Minified Content Showing Up as Bytes instead of String in Python 3.6#1

Open
niall-byrne wants to merge 4 commits intorockallite:masterfrom
niall-byrne:master
Open

Minified Content Showing Up as Bytes instead of String in Python 3.6#1
niall-byrne wants to merge 4 commits intorockallite:masterfrom
niall-byrne:master

Conversation

@niall-byrne
Copy link
Copy Markdown

I was having issues with the minified content appearing in the wrong format in Python 3.6

This change set leverages six to test the output of the file read, and performs the decode you had commented out. This change set unblocked me, and allowed me to use your great library.

@niall-byrne
Copy link
Copy Markdown
Author

I was thinking I could also do this with duck typing, and avoid needing to import six. I may submit an additional commit.

@niall-byrne
Copy link
Copy Markdown
Author

Done.

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.

1 participant