comparison sat/plugins/plugin_comp_file_sharing.py @ 2765:378188abe941

misc: replaced all "dummy" by the more conventional and readable "__" ("_" being used for gettext)
author Goffi <goffi@goffi.org>
date Fri, 11 Jan 2019 11:13:15 +0100
parents 56f94936df1e
children 003b8b4b56a7
comparison
equal deleted inserted replaced
2764:92af49cde255 2765:378188abe941
90 ) 90 )
91 if not os.path.exists(path): 91 if not os.path.exists(path):
92 os.makedirs(path) 92 os.makedirs(path)
93 93
94 @defer.inlineCallbacks 94 @defer.inlineCallbacks
95 def _fileTransferedCb(self, dummy, client, peer_jid, file_data, file_path): 95 def _fileTransferedCb(self, __, client, peer_jid, file_data, file_path):
96 """post file reception tasks 96 """post file reception tasks
97 97
98 on file is received, this method create hash/thumbnails if necessary 98 on file is received, this method create hash/thumbnails if necessary
99 move the file to the right location, and create metadata entry in database 99 move the file to the right location, and create metadata entry in database
100 """ 100 """