From 3e0bc9a0fb4dd6324e9764bc31f4686d672b70f4 Mon Sep 17 00:00:00 2001 From: RaNaN Date: Tue, 5 Oct 2010 22:55:22 +0200 Subject: general js api + pyv8 support --- module/network/Request.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'module/network') diff --git a/module/network/Request.py b/module/network/Request.py index 21159dde1..7c1e468eb 100755 --- a/module/network/Request.py +++ b/module/network/Request.py @@ -17,7 +17,6 @@ @author: spoob @author: RaNaN @author: mkaay - @version: v0.3.2 """ import base64 @@ -361,7 +360,7 @@ class Request: def progress(self, dl_t, dl_d, up_t, up_d): if self.abort: - return False + raise Exception self.dl_arrived = int(dl_d) self.dl_size = int(dl_t) -- cgit v1.2.3