upload.EncryptAnUploadable: use 50KiB read chunks (instead of 50KB), to match the chunksize requested by the upload helper

This commit is contained in:
Brian Warner 2008-02-07 17:10:13 -07:00
parent 96ca6c2033
commit b2d31f0a8a

View File

@ -329,7 +329,7 @@ class EncryptAnUploadable:
"""This is a wrapper that takes an IUploadable and provides
IEncryptedUploadable."""
implements(IEncryptedUploadable)
CHUNKSIZE = 50*1000
CHUNKSIZE = 50*1024
def __init__(self, original):
self.original = IUploadable(original)