From a57adac400ac406d1bdead2b6e9c647d7f04d20e Mon Sep 17 00:00:00 2001
From: Christian Pointner <equinox@helsinki.at>
Date: Wed, 25 Jan 2017 14:24:52 +0100
Subject: fix show-id selection for Radio Stimme


diff --git a/rhautoimport-rs b/rhautoimport-rs
index 9e3f6e5..2d9ffab 100755
--- a/rhautoimport-rs
+++ b/rhautoimport-rs
@@ -83,7 +83,7 @@ if($dow <= $week_table{$curweek}) {
   $import_date[2] = $week_table{$nextweek};
   @import_date = Date::Calc::Business_to_Standard(@import_date);
   @import_date = Date::Calc::Add_Delta_Days(@import_date, 7);
-  $dow = $week_table{$curweek};
+  $dow = $week_table{$nextweek};
 }
 print "day of next Radio Helsinki broadcast: " . Date::Calc::Date_to_Text(@import_date) . "\n";
 
-- 
cgit v0.10.2