Updated 2 deprecated functions
Under Arch Linux, using Python 3 and wxpython installed with pip3
Any call to pyscreenshot.grab() would return a:
TypeError: argument 1 must be read-only bytes-like object, not bytearray.
Therefore, adding bytes() to convert myWxImage.GetData() from bytearray to bytes
Coverage increased (+0.1%) to 39.694% when pulling 8712a480f7df5b047f12c4a6be392734d555474e on dosssman:patch-1 into 2730487ebc44282ec78b83532f424368b4ce2fb8 on ponty:master.
Coverage increased (+0.1%) to 39.694% when pulling 8712a480f7df5b047f12c4a6be392734d555474e on dosssman:patch-1 into 2730487ebc44282ec78b83532f424368b4ce2fb8 on ponty:master.
Coverage increased (+0.1%) to 39.694% when pulling 8712a480f7df5b047f12c4a6be392734d555474e on dosssman:patch-1 into 2730487ebc44282ec78b83532f424368b4ce2fb8 on ponty:master.
Updated 2 deprecated functions Under Arch Linux, using Python 3 and wxpython installed with pip3 Any call to pyscreenshot.grab() would return a: TypeError: argument 1 must be read-only bytes-like object, not bytearray. Therefore, adding bytes() to convert myWxImage.GetData() from bytearray to bytes