From 1f07db875dc9583983479afabc46cee802f488b5 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Mon, 24 May 2010 20:12:37 +0000 Subject: [PATCH] fix for that float() report from Shaohua Pan --- lib/core/target.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/core/target.py b/lib/core/target.py index d80d80677..e23af7853 100644 --- a/lib/core/target.py +++ b/lib/core/target.py @@ -141,8 +141,7 @@ def __setOutputResume(): if url[0] == "[": url = url[1:] - if value[-1] == "\n": - value = value[:-1] + value = value.rstrip('\r\n') #strips both chars independently if url not in ( conf.url, conf.hostname ): continue