remove test exception

This commit is contained in:
bakatrouble 2019-11-16 03:41:58 +03:00
parent 752256be7b
commit 7257ea3327

View File

@ -39,7 +39,6 @@ class OverlayBotModuleConfig(TelegramBotModuleConfig):
im.paste(overlay, ((w - min_side) // 2, (h - min_side) // 2), overlay) im.paste(overlay, ((w - min_side) // 2, (h - min_side) // 2), overlay)
im.save(out) im.save(out)
update.effective_message.reply_photo(open(out, 'rb'), caption=self.comment) update.effective_message.reply_photo(open(out, 'rb'), caption=self.comment)
raise Exception('hi')
def build_dispatcher(self, dispatcher: Dispatcher): def build_dispatcher(self, dispatcher: Dispatcher):
dispatcher.add_handler(CommandHandler('start', self.start_handler)) dispatcher.add_handler(CommandHandler('start', self.start_handler))