1
0
mirror of https://github.com/eternnoir/pyTelegramBotAPI.git synced 2023-08-10 21:12:57 +03:00

Remove old thing.

Update telebot/__init__.py
This commit is contained in:
Waffle 2018-05-25 09:44:43 +03:00
parent 018e4597a2
commit 7e5f51e4ab

View File

@ -98,13 +98,6 @@ class Saver:
else:
result[int(id_)] = [tmp]
a = """ for key, handlers_ in handlers.items():
for handler in handlers_:
name = handler["callback"]["name"]
module = handler["callback"]["module"]
callback = getattr(sys.modules["__main__"], "next_")
handler["callback"] = callback"""
if del_file_after_loading:
os.remove(filename)
return result