fixed a bug where the first command line argument was included in the script name rather than the job args.
parent
13bfd31cc1
commit
f7db838a8e
|
@ -101,14 +101,16 @@ def test_scheduler():
|
|||
|
||||
def load_19_02_skills():
|
||||
"""Load the json file from the mycroft-skills-data repository to the DB"""
|
||||
job_runner = JobRunner('load_skill_display_data.py --core-version 19.02')
|
||||
job_runner = JobRunner('load_skill_display_data.py')
|
||||
job_runner.job_args = '--core-version 19.02'
|
||||
job_runner.job_date = date.today() - timedelta(days=1)
|
||||
job_runner.run_job()
|
||||
|
||||
|
||||
def load_19_08_skills():
|
||||
"""Load the json file from the mycroft-skills-data repository to the DB"""
|
||||
job_runner = JobRunner('load_skill_display_data.py --core-version 19.08')
|
||||
job_runner = JobRunner('load_skill_display_data.py')
|
||||
job_runner.job_args = '--core-version 19.08'
|
||||
job_runner.job_date = date.today() - timedelta(days=1)
|
||||
job_runner.run_job()
|
||||
|
||||
|
|
Loading…
Reference in New Issue