Cleanup code

remove redundant return
This commit is contained in:
Unknown 2017-08-16 21:46:48 -05:00 committed by Kyler E Juresic
parent fc7c65a6d9
commit 3ecfe21fce

View File

@ -15,8 +15,6 @@ def getselect(select):
if 'waifu' in keyword: if 'waifu' in keyword:
url = 'https://media0.giphy.com/media/C79RKZ7nOcK8U/giphy.gif' url = 'https://media0.giphy.com/media/C79RKZ7nOcK8U/giphy.gif'
return url
if len(select.split()) > 1: if len(select.split()) > 1:
keyword = select.split()[1] keyword = select.split()[1]
#print (url) #print (url)