Open fivitti opened 3 years ago
Sounds good to me. This script wasn't used manually before.
I was thinking that one important change in this area would be to allow multiple files. At the moment at least 3 come to mind: products, waterfall, log file. One way to do it would to allow coma separated list of files as the first argument.
Yesterday, I've ran my local server (cd server; ./svarog-web.py
) and then edited the station config to point to 'url': 'http://localhost:8080/receive'
. Worked nicely, except I couldn't make the signatures to work. Most likely I messed up the secret configuration.
Script "submitobs.py" has a lot of parameters to pass from the command line. They are parsed directly from
sys.argv
. The order of parameters is important and some of them are optional. I think that usingargparse
library to handle them will be more user-friendly and descriptive.