From bc011c3f05db752e6d9f6a14c76e1d262b87ff5b Mon Sep 17 00:00:00 2001 From: "Iury O. G. Figueiredo" Date: Tue, 1 Dec 2020 05:07:07 -0300 Subject: [PATCH 1/2] Getting to work with untwisted last version. --- MANIFEST | 2 ++ ameliabot/plugins/dcc_send.py | 3 +-- setup.py | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/MANIFEST b/MANIFEST index 7f7e058..42fc878 100644 --- a/MANIFEST +++ b/MANIFEST @@ -25,8 +25,10 @@ ameliabot/plugins/help.py ameliabot/plugins/ircadm.py ameliabot/plugins/join.py ameliabot/plugins/keep_alive.py +ameliabot/plugins/latex.py ameliabot/plugins/lichess.py ameliabot/plugins/logmsg.py +ameliabot/plugins/mathb.py ameliabot/plugins/note.py ameliabot/plugins/pipe.py ameliabot/plugins/polyglot.py diff --git a/ameliabot/plugins/dcc_send.py b/ameliabot/plugins/dcc_send.py index 77d45db..19d9030 100644 --- a/ameliabot/plugins/dcc_send.py +++ b/ameliabot/plugins/dcc_send.py @@ -15,7 +15,7 @@ from quickirc import DccServer, send_msg from untwisted.iputils import ip_to_long -from untwisted.event import DONE, ACCEPT_ERR, TIMEOUT, CLOSE +from untwisted.event import DONE, TIMEOUT, CLOSE from os.path import getsize, join from socket import error from ameliabot.cmd import command @@ -49,7 +49,6 @@ def is_done(dccserv, client, msg): dccserv.add_map(DONE, is_done, 'Done.') dccserv.add_map(CLOSE, lambda dccserv, client, err: is_done(dccserv, client, 'Failed.')) - dccserv.add_map(ACCEPT_ERR, lambda dccserv, err: is_done(dccserv, None, "Accept error.")) # TIMEOUT is an event that occurs in the dccsev ssock # instance not in the client instance. diff --git a/setup.py b/setup.py index 9af090d..2edf668 100644 --- a/setup.py +++ b/setup.py @@ -3,7 +3,7 @@ from distutils.core import setup setup(name="ameliabot", - version="2.1.0", + version="2.1.1", packages=["ameliabot", "ameliabot.plugins", 'ameliabot.plugins.quote'], From f5af2cb62f0577b9d4744d6940723b93854170cb Mon Sep 17 00:00:00 2001 From: "Iury O. G. Figueiredo" Date: Tue, 1 Dec 2020 05:08:03 -0300 Subject: [PATCH 2/2] Updating. --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 10f859a..58b87b2 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,4 @@ -untwisted>=3.0.0 +untwisted>=3.2.1 quickirc>=1.2.0 ehp==2.0.1 pytio