Fix some linting issues

This commit is contained in:
Raoul Snyman 2018-01-04 00:00:55 -07:00
parent 64b26774a1
commit 544c396bbc

View File

@ -66,6 +66,6 @@ def download_and_check(callback=None):
file_size = get_url_file_size('https://get.openlp.org/webclient/site.zip') file_size = get_url_file_size('https://get.openlp.org/webclient/site.zip')
callback.setRange(0, file_size) callback.setRange(0, file_size)
if download_file(callback, 'https://get.openlp.org/webclient/site.zip', if download_file(callback, 'https://get.openlp.org/webclient/site.zip',
AppLocation.get_section_data_path('remotes') / 'site.zip', AppLocation.get_section_data_path('remotes') / 'site.zip',
sha256=sha256): sha256=sha256):
deploy_zipfile(AppLocation.get_section_data_path('remotes'), 'site.zip') deploy_zipfile(AppLocation.get_section_data_path('remotes'), 'site.zip')