diff --git a/larigira/main.py b/larigira/main.py index 2bc5655..2ef060f 100644 --- a/larigira/main.py +++ b/larigira/main.py @@ -126,7 +126,7 @@ def main(): larigira.controller.q.put(dict(kind="signal", args=args)) for signum in (signal.SIGHUP, signal.SIGALRM): - gevent.signal(signum, sig, signum) + gevent.signal_handler(signum, sig, signum) gevent.wait() diff --git a/setup.py b/setup.py index 30ed31d..0f49115 100644 --- a/setup.py +++ b/setup.py @@ -44,7 +44,7 @@ setup( "Babel==2.6.0", "Flask-Babel==1.0.0", "pyxdg==0.26", - "gevent==1.4.0", + "gevent==20.9.0", "flask-bootstrap", "python-mpd2", "wtforms==2.2.1", @@ -53,6 +53,8 @@ setup( "pytimeparse==1.1.8", "croniter==0.3.29", "werkzeug==0.14.1", + "Jinja2==3.0.1", + "itsdangerous==2.0.1", "cachelib==0.1", "tinydb==3.12.2", "lxml==4.5.1",