Support python-sendfile 2.x
Support both versions (1.2.x and 2.x) of python-sendfile. In v1.2.x (py-sendfile) the returning value of the sendfile function is a tuple, where in v2.x (pysendfile) it's a simple integer.
Loading
Please register or sign in to comment