Fix crash in error handling

This commit is contained in:
Robert Miles 2018-11-18 16:40:18 -05:00
parent 1a64668191
commit 1e36a0479b
1 changed files with 1 additions and 1 deletions

2
bot.py
View File

@ -12,7 +12,7 @@ def get_title(link):
if "YouTube" in title:
return title.split(" - YouTube", 1)[0]
return title
except:
except Exception as e:
print(e)
return link