exscript icon indicating copy to clipboard operation
exscript copied to clipboard

Fixes issue #191

Open Mir-ina opened this issue 2 years ago • 0 comments

If c is zero, then c.bit_length() is zero too. So c.to_bytes((c.bit_length()+7)//8, 'big') will return empty string, which is not correct. We need '\x00'.

Mir-ina avatar Oct 18 '23 15:10 Mir-ina