Merge remote-tracking branch 'inventree/master'

This commit is contained in:
Oliver 2021-07-30 11:22:50 +10:00
commit 9d5acaad58
2 changed files with 2 additions and 2 deletions

View File

@ -85,7 +85,7 @@ class BaseInvenTreeSetting(models.Model):
# Convert to javascript compatible booleans
if cls.validator_is_bool(validator):
value = value.lower()
value = str(value).lower()
# Numerical values remain the same
elif cls.validator_is_int(validator):

View File

@ -3,7 +3,7 @@ import os
import logging
logger = logging.get('inventree')
logger = logging.getLogger('inventree')
workers = os.environ.get('INVENTREE_GUNICORN_WORKERS', None)