summaryrefslogtreecommitdiff
path: root/imdb-lookup/imdbinfo.py
diff options
context:
space:
mode:
authorYves Fischer <yvesf-git@xapek.org>2014-11-28 18:37:56 +0100
committerYves Fischer <yvesf-git@xapek.org>2014-11-28 18:37:56 +0100
commit49cf834126a7fbcfd86b55502249c1be5ac46d7e (patch)
treeaa39e372963fe7b0725ee8a43bc437b6b5d87c17 /imdb-lookup/imdbinfo.py
parent9dc0f41fc947db8c3f19f31ff484d205ef127210 (diff)
downloadscripts-49cf834126a7fbcfd86b55502249c1be5ac46d7e.tar.gz
scripts-49cf834126a7fbcfd86b55502249c1be5ac46d7e.zip
one / too much in imdb path
Diffstat (limited to 'imdb-lookup/imdbinfo.py')
-rwxr-xr-ximdb-lookup/imdbinfo.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/imdb-lookup/imdbinfo.py b/imdb-lookup/imdbinfo.py
index 058cff3..81e4d48 100755
--- a/imdb-lookup/imdbinfo.py
+++ b/imdb-lookup/imdbinfo.py
@@ -138,7 +138,7 @@ class TMDBCache(object):
}
q = query.copy()
q.update(PARAMS)
- return requests.get("http://{}/{}".format(BASE_URI, path), params=q, headers=HEADERS)
+ return requests.get("http://{}{}".format(BASE_URI, path), params=q, headers=HEADERS)
def imdb_movie(self, movie_id):
def do_request():