Fixed a regression in rdimport(1) that broke the "--set-daypart-times" argument.

This commit is contained in:
Patrick Linstruth 2019-03-31 12:19:51 -07:00
parent dee0f5d168
commit e2e1902127
2 changed files with 4 additions and 1 deletions

View File

@ -18560,3 +18560,6 @@
Guide.
2019-03-28 Fred Gleason <fredg@paravelsystems.com>
* Fixed a typo in the remarks in 'apis/pypad/scripts/pypad_serial.py'.
2019-03-31 Patrick Linstruth <patrick@deltecent.com>
* Fixed a regression in rdimport(1) that broke the
"--set-daypart-times" argument.

View File

@ -244,7 +244,7 @@ MainObject::MainObject(QObject *parent)
}
rda->cmdSwitch()->setProcessed(i,true);
}
if(rda->cmdSwitch()->key(i)=="--set-daypart-times\n") {
if(rda->cmdSwitch()->key(i)=="--set-daypart-times") {
QStringList f0=rda->cmdSwitch()->value(i).split(",");
if(f0.size()!=2) {
Log(RDConfig::LogErr,QString("rdimport: invalid argument to --set-daypart-times\n"));