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

Writing to File - Bytes Bug #1

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Writing to File - Bytes Bug #1

wants to merge 3 commits into from

Conversation

brycefrank
Copy link

I ran into some strange errors some time ago when attempting to write to a las file. The problem was that the pack function was accepting a bytes argument and attempting to convert a bytes object into a bytes object, causing the error. To fix this, I added a conditional that checks if the object is already bytes, and if so returns the object.

The error is resolved and I have had no issues writing to las files since.

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