mirror of
https://github.com/rembo10/headphones.git
synced 2026-07-10 11:04:02 +01:00
Bug fixes: ascii errors? Rss timeouts, albums with special characters not being sent to sab
This commit is contained in:
+1
-1
@@ -2911,7 +2911,7 @@ def _open_resource(url_file_stream_or_string, etag, modified, agent, referrer, h
|
||||
opener = apply(urllib2.build_opener, tuple(handlers + [_FeedURLHandler()]))
|
||||
opener.addheaders = [] # RMK - must clear so we only send our custom User-Agent
|
||||
try:
|
||||
return opener.open(request)
|
||||
return opener.open(request, timeout=15)
|
||||
finally:
|
||||
opener.close() # JohnD
|
||||
|
||||
|
||||
Reference in New Issue
Block a user