mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Ensure use_sendfile exists
This commit is contained in:
parent
b2c4c9422e
commit
50d866efd7
@ -310,6 +310,8 @@ class StaticOutput(object):
|
||||
|
||||
class HTTPConnection(HTTPRequest):
|
||||
|
||||
use_sendfile = False
|
||||
|
||||
def write(self, buf, end=None):
|
||||
pos = buf.tell()
|
||||
if end is None:
|
||||
|
Loading…
x
Reference in New Issue
Block a user