From b7373a49824b96213cd0639e2e6fbada4fe5a926 Mon Sep 17 00:00:00 2001 From: tomkat83 Date: Sun, 30 Apr 2017 17:22:46 +0200 Subject: [PATCH] Small code refactoring --- resources/lib/downloadutils.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/lib/downloadutils.py b/resources/lib/downloadutils.py index b98619a2..660c68ce 100644 --- a/resources/lib/downloadutils.py +++ b/resources/lib/downloadutils.py @@ -34,11 +34,11 @@ class DownloadUtils(): connectionAttempts = 2 # How many 401 returns before declaring unauthorized? unauthorizedAttempts = 2 + # How long should we wait for an answer from the + timeout = 30.0 def __init__(self): self.__dict__ = self._shared_state - # Requests session - self.timeout = 30.0 def setUsername(self, username): """