summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2013-04-09 17:52:31 +0200
committerDaniel Friesel <derf@finalrewind.org>2013-04-09 17:52:31 +0200
commita640f26dbbafb2f47824959393c51482ca29dd8a (patch)
treeadef67f9680898f9d13d461c307c6fdb292e4b2f
parent1aaa2c6a4d7cee08b082ad021ed4abb076591f39 (diff)
respect proxy environment variables
-rw-r--r--lib/Travel/Status/DE/DeutscheBahn.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Travel/Status/DE/DeutscheBahn.pm b/lib/Travel/Status/DE/DeutscheBahn.pm
index 9a9358e..d54847a 100644
--- a/lib/Travel/Status/DE/DeutscheBahn.pm
+++ b/lib/Travel/Status/DE/DeutscheBahn.pm
@@ -19,6 +19,8 @@ sub new {
my $ua = LWP::UserAgent->new();
+ $ua->env_proxy;
+
my $reply;
my $lang = $conf{language} // 'd';