We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a29a3d0 commit 690337eCopy full SHA for 690337e
RFBlaster.py
@@ -488,7 +488,7 @@ def http_request(self, form=None):
488
response = b''.join(urlopen(req, timeout=self.timeout).readlines())
489
self.netlogger.info('Connected!')
490
break
491
- except URLError, HTTPError as e:
+ except (URLError, HTTPError) as e:
492
self.netlogger.warning(str(e))
493
if self._connection_attempt < self.retries:
494
self.netlogger.info('Connection failed. Trying again (%i more attempts remain).' % (self.retries - self._connection_attempt))
0 commit comments