111 if upload_submit.url == self.upload_url: |
111 if upload_submit.url == self.upload_url: |
112 measurement_id = False |
112 measurement_id = False |
113 logger.error("Uploaded file rejected! Try to upload manually to see the error.") |
113 logger.error("Uploaded file rejected! Try to upload manually to see the error.") |
114 else: |
114 else: |
115 measurement_id = re.findall(regex, upload_submit.text)[0] |
115 measurement_id = re.findall(regex, upload_submit.text)[0] |
116 logger.error("Successfully uploaded measurement with id %s." % measurement_id) |
116 logger.info("Successfully uploaded measurement with id %s." % measurement_id) |
117 |
117 |
118 return measurement_id |
118 return measurement_id |
119 |
119 |
120 def download_files(self, measurement_id, subdir, download_url): |
120 def download_files(self, measurement_id, subdir, download_url): |
121 """ Downloads some files from the download_url to the specified |
121 """ Downloads some files from the download_url to the specified |