Skip to content
Permalink
Browse files
Fix 'gPodderDownloadHTTPError' object has no attribute 'errcode'
  • Loading branch information
thp committed Apr 9, 2012
1 parent 1d90311 commit b35e1c1987a51ecf9b24f243dea458543525c227
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/gpodder/download.py
@@ -765,9 +765,9 @@ def run(self):
continue
raise
except gPodderDownloadHTTPError, http:
if retry < max_retries and http.errcode in retry_codes:
if retry < max_retries and http.error_code in retry_codes:
logger.info('HTTP error %d: %s - will retry.',
http.errcode, url)
http.error_code, url)
continue
raise

0 comments on commit b35e1c1

Please sign in to comment.