Update config.py

This commit is contained in:
Saifeddine ALOUI 2024-10-24 12:33:18 +02:00 committed by GitHub
parent 6c07bf0b1d
commit 44516ab445
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -540,7 +540,7 @@ class TypedConfig:
entry_value = int(entry_value)
elif entry_type == "float":
entry_value = float(entry_value)
elif entry_type == "str" or entry_type == "text" or entry_type == "string" or entry_type == "btn":
elif entry_type == "str" or entry_type == "text" or entry_type == "string" or entry_type == "btn" or entry_type == "file" or entry_type == "folder":
entry_value = str(entry_value)
elif entry_type == "bool":
entry_value = bool(entry_value)