diff --git a/experiments/tribler/channel_download.py b/experiments/tribler/channel_download.py index edee664f9..299a23498 100755 --- a/experiments/tribler/channel_download.py +++ b/experiments/tribler/channel_download.py @@ -262,7 +262,10 @@ def publish(self, filename, size): elif self.joined_community: self.joined_community._disp_create_torrent_from_torrentdef(tdef, int(time.time())) - self.setup_seeder(filename, size) + self.setup_seeder(filename, size) + else: + self._logger.debug("Can't publish yet, no channel or community joined") + reactor.callLater(10.0, self.publish, filename, size) def _create_test_torrent(self, filename='', size=0): filepath = path.join(self.upload_dir_path, "%s.data" % filename)