Skip to content

Commit

Permalink
fix: non-compressed, non-segmented responses were missing the first f…
Browse files Browse the repository at this point in the history
…ew characters (#28)
  • Loading branch information
cryptk committed May 30, 2023
1 parent 7a2aca8 commit f1f6913
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyomnilogic_local/protocol.py
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ async def _receive_file(self) -> str:
retval = message.payload
# A short response, no LeadMessage and no compression...
else:
retval = message.payload[8:]
retval = message.payload

# Decompress the returned data if necessary
if message.compressed:
Expand Down

0 comments on commit f1f6913

Please sign in to comment.