Gopherus icon indicating copy to clipboard operation
Gopherus copied to clipboard

new python3 divide

Open cynicalight opened this issue 1 year ago • 0 comments

error:

  File "xxxx/Gopherus/scripts/FastCGI.py", line 17, in FastCGI
    temp1 = chr(len(data) / 256)
            ^^^^^^^^^^^^^^^^^^^^
TypeError: 'float' object cannot be interpreted as an integer

TO return A integer the code should be replaced by

temp1 = chr(len(data) // 256)

cynicalight avatar Sep 18 '24 01:09 cynicalight