-
Notifications
You must be signed in to change notification settings - Fork 0
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
Adding adhomf clients #5
Conversation
if type(omf_message) is not bytes: | ||
compressed_body = self.compressOMFMessage(omf_message) | ||
else: | ||
if omf_message[0] == 31 and omf_message[1] == 139: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since this is a "magic number" check, adding a comment here or maybe even better moving the byte checking logic to a function like IsGzipFormat()
would make this more readable
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I saw this comment was resolved but I don't see any change associated with it. Was this addressed?
No description provided.