File "distortion_bot.py", line 41, in <module>
bot.polling()
File "/usr/local/lib/python2.7/dist-packages/telebot/__init__.py", line 389, in polling
self.__threaded_polling(none_stop, interval, timeout)
File "/usr/local/lib/python2.7/dist-packages/telebot/__init__.py", line 413, in __threaded_polling
self.worker_pool.raise_exceptions()
File "/usr/local/lib/python2.7/dist-packages/telebot/util.py", line 108, in raise_exceptions
six.reraise(self.exc_info[0], self.exc_info[1], self.exc_info[2])
File "/usr/local/lib/python2.7/dist-packages/telebot/util.py", line 59, in run
task(*args, **kwargs)
File "distortion_bot.py", line 35, in photudl
photo = open('result/'+file_name, 'rb')
IOError: [Errno 2] No such file or directory: 'result/2.jpg'
File "distortion_bot.py", line 41, in <module>
bot.polling()
File "/usr/local/lib/python2.7/dist-packages/telebot/__init__.py", line 389, in polling
self.__threaded_polling(none_stop, interval, timeout)
File "/usr/local/lib/python2.7/dist-packages/telebot/__init__.py", line 413, in __threaded_polling
self.worker_pool.raise_exceptions()
File "/usr/local/lib/python2.7/dist-packages/telebot/util.py", line 108, in raise_exceptions
six.reraise(self.exc_info[0], self.exc_info[1], self.exc_info[2])
File "/usr/local/lib/python2.7/dist-packages/telebot/util.py", line 59, in run
task(*args, **kwargs)
File "distortion_bot.py", line 35, in photudl
photo = open('/home/twitter/telegram/OpenDistortBot/result/'+file_name, 'rb')
IOError: [Errno 2] No such file or directory: '/home/twitter/telegram/OpenDistortBot/result/82.jpg'