Removed stupid return op

This commit is contained in:
jeantoulza 2018-07-12 18:01:13 +02:00
parent 5bc4d08b03
commit f75b32acce
1 changed files with 2 additions and 3 deletions

3
bot.py
View File

@ -81,8 +81,6 @@ def auto(track_url):
except:
raise Exception("Could not determine logged in user...")
return True
rep = br.open(BASE+"schedule")
try:
@ -155,6 +153,7 @@ def start_bot():
await bot.say("You do not have the required role to repost or use this bot.")
return
try:
print("Autoscheduling "+url)
calendar_link = auto(url)
await bot.say(calendar_link)
except Exception as e: