Permalink
Browse files

remove sleep that isn't needed or works anymore

  • Loading branch information...
1 parent 04850d9 commit 75c39c8e6dd48a5424085a91938d5fdbcb5011af @MartijnKaijser MartijnKaijser committed Nov 23, 2012
Showing with 0 additions and 3 deletions.
  1. +0 −3 resources/lib/utils.py
@@ -136,9 +136,6 @@ def get_data_new(url, data_type):
# TMDB needs a header to be able to read the data
if url.startswith("http://api.themoviedb.org"):
request.add_header("Accept", "application/json")
- # Add some delay to stop trashing the fanart.tv server
- elif url.startswith("http://fanart.tv/"):
- xbmc.sleep(1000)
req = urllib2.urlopen(request)
if data_type == 'json':
data = simplejson.loads(req.read())

0 comments on commit 75c39c8

Please sign in to comment.