From c89045ed03929a61ad856ba867f1222cc8345696 Mon Sep 17 00:00:00 2001 From: Alexander Graf Date: Wed, 3 Nov 2021 15:20:30 +0100 Subject: [PATCH] duh --- webmails/roundcube/start.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webmails/roundcube/start.py b/webmails/roundcube/start.py index 801d028f..64147681 100755 --- a/webmails/roundcube/start.py +++ b/webmails/roundcube/start.py @@ -8,7 +8,7 @@ import subprocess log.basicConfig(stream=sys.stderr, level=os.environ.get("LOG_LEVEL", "WARNING")) -os.environ["MAX_FILESIZE"] = str(int(int(os.environ.get("MESSAGE_SIZE_LIMIT")) / 0.66 / 1048576)) +os.environ["MAX_FILESIZE"] = str(int(int(os.environ.get("MESSAGE_SIZE_LIMIT")) * 0.66 / 1048576)) db_flavor = os.environ.get("ROUNDCUBE_DB_FLAVOR", "sqlite") if db_flavor == "sqlite":