mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-06-19 07:48:11 +00:00
upload: pass options through to the encoder
This commit is contained in:
@ -253,7 +253,7 @@ class Client(node.Node, Referenceable, testutil.PollMixin):
|
||||
d.addCallback(lambda res: n)
|
||||
return d
|
||||
|
||||
def upload(self, uploadable):
|
||||
def upload(self, uploadable, options={}):
|
||||
uploader = self.getServiceNamed("uploader")
|
||||
return uploader.upload(uploadable)
|
||||
return uploader.upload(uploadable, options)
|
||||
|
||||
|
Reference in New Issue
Block a user