From d804a7fa90fc101fba6a66d06faf6289d4ca9692 Mon Sep 17 00:00:00 2001
From: Christian Pointner <equinox@helsinki.at>
Date: Fri, 10 Jul 2015 18:01:23 +0000
Subject: fixed call to get_rd_week


diff --git a/rhimport-rs b/rhimport-rs
index e528b5b..d0d7337 100755
--- a/rhimport-rs
+++ b/rhimport-rs
@@ -77,7 +77,7 @@ if(!$to_cart) {
   exit 1;
 }
 
-my $curweek = get_rd_week();
+my $curweek = rhimport::get_rd_week();
 my $nextweek = $curweek == 4 ? 1 : $curweek + 1;
 
 my @today = Date::Calc::Today();
diff --git a/rhimport-sm b/rhimport-sm
index 2466154..f48b809 100755
--- a/rhimport-sm
+++ b/rhimport-sm
@@ -70,7 +70,7 @@ if(scalar(@allowed_dbs) != 1) {
 my $dropbox = $allowed_dbs[0]->{'PATH'};
 my $to_cart = $allowed_dbs[0]->{'TO_CART'};
 
-my $curweek = get_rd_week();
+my $curweek = rhimport::get_rd_week();
 
 my @today = Date::Calc::Today();
 my $dow = Date::Calc::Day_of_Week(@today);
diff --git a/rhimport-sv b/rhimport-sv
index 1c05f04..b148e89 100755
--- a/rhimport-sv
+++ b/rhimport-sv
@@ -70,7 +70,7 @@ if(scalar(@allowed_dbs) != 1) {
 my $dropbox = $allowed_dbs[0]->{'PATH'};
 my $to_cart = $allowed_dbs[0]->{'TO_CART'};
 
-my $curweek = get_rd_week();
+my $curweek = rhimport::get_rd_week();
 
 my @today = Date::Calc::Today();
 my $dow = Date::Calc::Day_of_Week(@today);
-- 
cgit v0.10.2