appimages -> support apps with no github set

This commit is contained in:
Vinicius Moreira
2019-10-09 15:59:00 -03:00
parent 6132155614
commit dd56a515fb
3 changed files with 13 additions and 10 deletions

View File

@@ -84,7 +84,7 @@ class AdaptableFileDownloader(FileDownloader):
downloader = 'wget'
file_size = self.http_client.get_content_length(file_url)
msg = bold('[{}] ').format(downloader) + self.i18n['downloading'] + ' ' + bold(file_url.split('/')[-1]) + (' ' + file_size if file_size else '')
msg = bold('[{}] ').format(downloader) + self.i18n['downloading'] + ' ' + bold(file_url.split('/')[-1]) + (' ( {} )'.format(file_size) if file_size else '')
watcher.change_substatus(msg)
success = handler.handle(process)
except: