Skip to content

Commit

Permalink
py3k fix
Browse files Browse the repository at this point in the history
git-svn-id: https://xpra.org/svn/Xpra/trunk@20007 3bb7dfac-3a0b-4e04-842a-767bc560f471
  • Loading branch information
totaam committed Aug 3, 2018
1 parent cedef41 commit 748215d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/xpra/codecs/codec_checks.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def makebuf(size):
numpy = sys.modules.get("numpy")
if numpy is None and size<64*1024:
#small enough, don't bother importing numpy
return "\0"*size
return b"\0"*size
import numpy
a = numpy.empty(size, dtype=numpy.byte)
return a.data
Expand Down

0 comments on commit 748215d

Please sign in to comment.