You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This code does not function as I believe it is intended: instead of replacing the integer value of PUT_PHOTO with the integer value of REGISTER, it replaces the integer value of PUT_PHOTO with the Enum object REGISTER. This results in the decode_log_entry receiving values it items that are neither ints nor bytes types, which would not happen in a real client/server relationship.
To fix this, I think that line 1071 should be replaced with
Hello,
Unless I'm missing something, I believe this is unintended behavior:
Line 1071 of
ag1_runner.py
is as follows:This code does not function as I believe it is intended: instead of replacing the integer value of PUT_PHOTO with the integer value of REGISTER, it replaces the integer value of PUT_PHOTO with the Enum object REGISTER. This results in the
decode_log_entry
receiving values ititems
that are neitherint
s norbytes
types, which would not happen in a real client/server relationship.To fix this, I think that line 1071 should be replaced with
This will strictly replace an integer with an integer.
The text was updated successfully, but these errors were encountered: