Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix 'gPodderDownloadHTTPError' object has no attribute 'errcode'
  • Loading branch information
thp committed Apr 9, 2012
1 parent 1d90311 commit b35e1c1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/gpodder/download.py
Expand Up @@ -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

Expand Down

0 comments on commit b35e1c1

Please sign in to comment.