Skip to content

Fix problems with saving of advanced settings#128

Merged
zdohnal merged 2 commits intoOpenPrinting:masterfrom
TomasKorbar:changes
Jan 14, 2019
Merged

Fix problems with saving of advanced settings#128
zdohnal merged 2 commits intoOpenPrinting:masterfrom
TomasKorbar:changes

Conversation

@TomasKorbar
Copy link
Copy Markdown
Contributor

Hi,
These commits Fix #37
For more information please see commit messages.

After reading from stream we must return again to line 0 if we
want to read file again
in python3 os.read returns byte object not a string which caused
writing loop to be endless

by adding b'' comparison we hold compatibility both with python2
and python3
@zdohnal
Copy link
Copy Markdown
Member

zdohnal commented Jan 14, 2019

LGTM, thank you for the patch!

@zdohnal zdohnal merged commit e58d4c9 into OpenPrinting:master Jan 14, 2019
@es20490446e
Copy link
Copy Markdown

es20490446e commented Jan 14, 2019

Thank you, this was a long standing bug 😉

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.

3 participants