diff --git a/scripts/voltdownload.py b/scripts/voltdownload.py index 4baa912..2ffd4d4 100755 --- a/scripts/voltdownload.py +++ b/scripts/voltdownload.py @@ -266,7 +266,7 @@ def download_worker(url, filename, size, out, bufsize, prestage): file_size_dl += len(buff) if file_size_dl != file_size: - raise Exception('size mismatch %s %s' % str(file_size), str(file_size_dl)) + raise Exception('size mismatch %s %s' % (str(file_size), str(file_size_dl))) file_complete(filename) @@ -339,7 +339,7 @@ def main(): logger.info('Finding observation %s' % options.obs) - fileresult = query_observation(options.obs, 'mwa-metadata01.pawsey.org.au', + fileresult = query_observation(options.obs, 'ws.mwatelescope.org', options.filetype, options.timefrom, options.duration) if len(fileresult) <= 0: logger.info('No files found for observation %s and file type %s' % options.obs,