Beispiel #1
0
 def set_selected_files(self, files):
     """ Note: this currently works only when the download is stopped. """
     self.dllock.acquire()
     try:
         DownloadConfigInterface.set_selected_files(self, files)
         self.set_filepieceranges(self.tdef.get_metainfo())
     finally:
         self.dllock.release()
 def set_selected_files(self,files):
     """ Note: this currently works only when the download is stopped. """
     self.dllock.acquire()
     try:
         DownloadConfigInterface.set_selected_files(self,files)
         self.set_filepieceranges(self.tdef.get_metainfo())
     finally:
         self.dllock.release()