comparison sat/plugins/plugin_comp_file_sharing.py @ 3709:09f5ac48ffe3

merge bookmark @
author Goffi <goffi@goffi.org>
date Fri, 12 Nov 2021 17:21:24 +0100
parents 742e466fa000 6d298323eed2
children 6878745a47e8
comparison
equal deleted inserted replaced
3684:8353cc3b8db9 3709:09f5ac48ffe3
543 ) 543 )
544 544
545 self._f.openFileWrite( 545 self._f.openFileWrite(
546 client, file_tmp_path, transfer_data, file_data, stream_object 546 client, file_tmp_path, transfer_data, file_data, stream_object
547 ) 547 )
548 return False, defer.succeed(True) 548 return False, True
549 549
550 async def _retrieveFiles( 550 async def _retrieveFiles(
551 self, client, session, content_data, content_name, file_data, file_elt 551 self, client, session, content_data, content_name, file_data, file_elt
552 ): 552 ):
553 """This method retrieve a file on request, and send if after checking permissions""" 553 """This method retrieve a file on request, and send if after checking permissions"""