correct status of login send_rs_data

Wed, 03 Oct 2018 18:00:23 +0200

author
madrouin@astronotus.lmd.polytechnique.fr
date
Wed, 03 Oct 2018 18:00:23 +0200
branch
send_rs_data
changeset 23
bbaf82cd6e71
parent 22
5e3f107df50a
child 24
a6ed20f50a58

correct status of login

scc_access/scc_access.py file | annotate | diff | comparison | revisions
--- a/scc_access/scc_access.py	Wed Oct 03 18:00:05 2018 +0200
+++ b/scc_access/scc_access.py	Wed Oct 03 18:00:23 2018 +0200
@@ -111,7 +111,7 @@
             logger.error("Uploaded file rejected! Try to upload manually to see the error.")
         else:
             measurement_id = re.findall(regex, upload_submit.text)[0]
-            logger.error("Successfully uploaded measurement with id %s." % measurement_id)
+            logger.info("Successfully uploaded measurement with id %s." % measurement_id)
 
         return measurement_id
 
@@ -536,6 +536,6 @@
             parser.error('Provide a valid filename and system parameters.\nRun with -h for help.\n')
 
         if args.process:
-            process_file(args.filename, args.system, settings)
+            process_file(args.filename, args.system, settings, rs_filename=args.radiosounding)
         else:
             upload_file(args.filename, args.system, settings, rs_filename=args.radiosounding)

mercurial