From f5c3720a5cdfc93734733b4ac8aba79289197f8f Mon Sep 17 00:00:00 2001 From: RaNaN Date: Wed, 12 Aug 2009 17:26:38 +0200 Subject: time-, plugin fix, debug output --- Plugins/NetloadIn.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Plugins') diff --git a/Plugins/NetloadIn.py b/Plugins/NetloadIn.py index ac14a670c..9509796f4 100644 --- a/Plugins/NetloadIn.py +++ b/Plugins/NetloadIn.py @@ -109,10 +109,10 @@ class NetloadIn(Plugin): self.want_reconnect = True def get_file_name(self): - if not self.want_reconnect: + try: file_name_pattern = '\t\t\t(.+)' return re.search(file_name_pattern, self.html[0]).group(1) - else: + except: return self.parent.url def file_exists(self): -- cgit v1.2.3