Fix env CACHE_DISABLED to bool converting

This commit is contained in:
norohind committed 2021-11-28 21:46:49 +03:00
1 parent 2e3c6983b0
commit 7d132ecb5f
1 file changed
+1 -1
+1 -1
View File
@@ -1,6 +1,6 @@
import os
cache_disabled: bool = bool(os.getenv('CACHE_DISABLED', True))
cache_disabled: bool = os.getenv('CACHE_DISABLED', 'True').lower() == 'true'
DBMS_name = os.getenv('DB_NAME')