Update utils/settings.py

Co-authored-by: drugsosos <44712637+Drugsosos@users.noreply.github.com>
pull/1070/head
Jason 3 years ago committed by GitHub
parent 0fa2106af4
commit 7ca565eb8d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -52,7 +52,7 @@ def check(
Returns:
Correct value
"""
correct = True if value else False
correct = True if value != {} else False
if correct and "type" in checks:
try:

Loading…
Cancel
Save