From: Michael Tremer Date: Wed, 12 Apr 2017 20:50:45 +0000 (+0200) Subject: http: Reset pointer of downloaded temporary file X-Git-Tag: 0.9.28~1285^2~1353 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=28ee645bf61e26b532075a7da834cc0f78ef28e2;p=pakfire.git http: Reset pointer of downloaded temporary file Signed-off-by: Michael Tremer --- diff --git a/src/pakfire/http.py b/src/pakfire/http.py index 7222cf5cb..e41350570 100644 --- a/src/pakfire/http.py +++ b/src/pakfire/http.py @@ -351,6 +351,7 @@ class Client(object): # If the download succeeded, we will # break the loop + f.seek(0) break except DownloadError as e: