aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar abdullah oday <[email protected]>2019-02-14 21:26:26 +0300
committerGravatar abdullah oday <[email protected]>2019-02-14 21:26:26 +0300
commitaf8e08788a5fc60bf89cd23c2e89fe4ed258c91a (patch)
treecf4457add69728ba26f1f10b51cd6b9bbb72adb0
parentReplaced urlib with aiohttp , added docstrings and fixed issues (diff)
removed print function
-rw-r--r--bot/seasons/valentines/movie_generator.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/bot/seasons/valentines/movie_generator.py b/bot/seasons/valentines/movie_generator.py
index 230a2649..0eddf895 100644
--- a/bot/seasons/valentines/movie_generator.py
+++ b/bot/seasons/valentines/movie_generator.py
@@ -42,7 +42,6 @@ class MovieGenerator:
request_url = "https://api.themoviedb.org/3/discover/movie?" + parse.urlencode(params)
async with aiohttp.ClientSession() as session:
async with session.get(request_url) as resp:
- print(await resp.json())
# loading the json file returned from the api
data = await resp.json()
# selecting random result from results object in the json file