From 334931af21ecabfe17e33cf1df6eff0b16ca9d38 Mon Sep 17 00:00:00 2001 From: tastytea Date: Thu, 2 Feb 2023 21:15:13 +0100 Subject: [PATCH] fix zlib-check error message Signed-off-by: tastytea --- synapse/rest/media/v1/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/synapse/rest/media/v1/__init__.py b/synapse/rest/media/v1/__init__.py index 995ed89fad..c9b3ed364a 100644 --- a/synapse/rest/media/v1/__init__.py +++ b/synapse/rest/media/v1/__init__.py @@ -27,7 +27,7 @@ if not check_codec("jpg"): if not check_codec("zlib"): raise Exception( "FATAL: zip codec not supported. Install pillow correctly! " - " 'sudo apt-get install libjpeg-dev' then 'pip uninstall pillow &&" + " 'sudo apt-get install zlib1g-dev' then 'pip uninstall pillow &&" " pip install pillow --user'" )