summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorChristian Pointner <equinox@helsinki.at>2016-11-26 00:51:46 (GMT)
committerChristian Pointner <equinox@helsinki.at>2016-11-26 00:51:46 (GMT)
commit76147909f3d618876f874be338b2e06d2af975ee (patch)
tree338ae8364011b417c9e74d149e5280d310196d7b /utils
parente460481e49493e052dd69756f730cc28f5866209 (diff)
updatd title check for rhrd-schedules
Diffstat (limited to 'utils')
-rwxr-xr-xutils/rhrd-schedules4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/rhrd-schedules b/utils/rhrd-schedules
index 26a2552..2dca8fd 100755
--- a/utils/rhrd-schedules
+++ b/utils/rhrd-schedules
@@ -150,7 +150,7 @@ sub show__day_entry
${$show}{'DOW'} = 7 if ${$show}{'DOW'} == 0;
my @weeks = split('', ${$show}{'RHYTHM'});
- if ($title ne ${$show}{'TITLE'} && ($title . " (Wiederholung)") ne ${$show}{'TITLE'}) {
+ if (${$show}{'TYPE'} ne "s" && $title ne ${$show}{'TITLE'}) {
print "WARNING: title mismatch (PV: '$title' != RD: '" . ${$show}{'TITLE'} . "') -- PV-id: $pvid\n";
return 1;
}
@@ -226,7 +226,7 @@ sub show__day
print "($showid) -> $status: $errorstring\n";
$errcnt++;
} else {
- if ($title ne ${$show}{'TITLE'} && ($title . " (Wiederholung)") ne ${$show}{'TITLE'}) {
+ if (${$show}{'TYPE'} ne "s" && $title ne ${$show}{'TITLE'}) {
print "($showid) -> WARNING: title mismatch (PV: '$title' != RD: '" . ${$show}{'TITLE'} . "') -- PV-id: $pvid\n";
$errcnt++;
} else {