From 6f6c8af2a55fabb69372e3fc4e8504167805d018 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20=27Necoro=27=20Neumann?= Date: Wed, 22 Jul 2020 23:46:00 +0200 Subject: Do not write bytecode for local debug running --- run.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/run.sh b/run.sh index 6d47880..c8bcb03 100755 --- a/run.sh +++ b/run.sh @@ -1,4 +1,7 @@ #!/bin/sh # For running from the cmdline in Debug Mode -FLASK_APP=app FLASK_ENV=development flask "$@" +FLASK_APP=app \ +FLASK_ENV=development \ +PYTHONDONTWRITEBYTECODE=1 \ +flask "$@" -- cgit v1.2.3