From ebe735cec6c5f3c9ba410b8ea7127585898d5755 Mon Sep 17 00:00:00 2001 From: pifou Date: Tue, 27 Nov 2007 22:06:54 +0000 Subject: [PATCH] =?utf8?q?FIX=20la=20m=C3=A9thode=20trim=20n'existe=20pas?= =?utf8?q?=20pour=20les=20strings...=20il=20faut=20utiliser=20strip?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit git-svn-id: svn://euphorik.ch/pompage@62 02bbb61a-6d21-0410-aba0-cb053bdfd66a --- src/modules/allocine.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/allocine.rb b/src/modules/allocine.rb index e441f31..56a2ed2 100644 --- a/src/modules/allocine.rb +++ b/src/modules/allocine.rb @@ -167,7 +167,7 @@ class Allocine < Basemodule film.pays.clear /

Film (.*?)\. <\/h4>/ =~ html $1.split(',').each{|pays| - film.pays << Pays::ajouter(pays.trim) unless pays.nil? + film.pays << Pays::ajouter(pays.strip) unless pays.nil? } unless $1.nil? end -- 2.45.2