Skip to content

Commit

Permalink
Updated the webservice url
Browse files Browse the repository at this point in the history
  • Loading branch information
NickSwainston committed Jan 9, 2020
1 parent 9372f9e commit 363e569
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/voltdownload.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit 363e569

Please sign in to comment.