def seed(self, widget=None): for f in self.file_list: if self.parent.parent: launch_coroutine(wx.the_app.gui_wrap, wx.the_app.publish_torrent, f+EXTENSION, f) else: btspawn('bittorrent', f+EXTENSION, '--publish', f) self.cancel()
def seed(self, widget=None): for f in self.file_list: if self.parent.parent: launch_coroutine(wx.the_app.gui_wrap, wx.the_app.publish_torrent, f + EXTENSION, f) else: btspawn('bittorrent', f + EXTENSION, '--publish', f) self.cancel()
def seed(self, widget=None): for f in self.file_list: btspawn(None, 'bittorrent', f+EXTENSION, '--save_as', f) self.cancel()