From 4cc68bd139f42b01a2fd64826912fe96e92e662c Mon Sep 17 00:00:00 2001 From: KN4CK3R Date: Tue, 20 Oct 2020 13:45:01 +0200 Subject: [PATCH 1/2] Fixed typo. --- cps/translations/de/LC_MESSAGES/messages.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cps/translations/de/LC_MESSAGES/messages.po b/cps/translations/de/LC_MESSAGES/messages.po index 6b3653a1..180a502e 100644 --- a/cps/translations/de/LC_MESSAGES/messages.po +++ b/cps/translations/de/LC_MESSAGES/messages.po @@ -305,7 +305,7 @@ msgstr "Buch Format erfolgreich gelöscht" #: cps/editbooks.py:282 cps/editbooks.py:284 msgid "Book Successfully Deleted" -msgstr "Buch erfolgreich geschlöscht" +msgstr "Buch erfolgreich gelöscht" #: cps/editbooks.py:293 cps/editbooks.py:596 cps/web.py:1812 cps/web.py:1853 #: cps/web.py:1915 From 5792838333b49d1ee896b1abfb8107337ecdee76 Mon Sep 17 00:00:00 2001 From: Ozzieisaacs Date: Tue, 20 Oct 2020 17:38:37 +0200 Subject: [PATCH 2/2] Add OSError to catched Gevent Error --- cps/server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cps/server.py b/cps/server.py index de98fc6e..b2d9c1b0 100644 --- a/cps/server.py +++ b/cps/server.py @@ -150,7 +150,7 @@ class WebServer(object): def my_wrap_socket(*args, **kwargs): try: return wrap_socket(*args, **kwargs) - except (ssl.SSLError) as ex: + except (ssl.SSLError, OSError) as ex: log.warning('Gevent SSL Error: %s', ex) raise GreenletExit