From 28ee645bf61e26b532075a7da834cc0f78ef28e2 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Wed, 12 Apr 2017 22:50:45 +0200 Subject: [PATCH] http: Reset pointer of downloaded temporary file Signed-off-by: Michael Tremer --- src/pakfire/http.py | 1 + 1 file changed, 1 insertion(+) 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: -- 2.39.5