We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1d05304 commit 46e8b8eCopy full SHA for 46e8b8e
plexapi/settings.py
@@ -124,8 +124,8 @@ def _loadData(self, data):
124
self.enumValues = self._getEnumValues(data)
125
126
def _cast(self, value):
127
- """ Cast the specifief value to the type of this setting. """
128
- if self.type != 'text':
+ """ Cast the specific value to the type of this setting. """
+ if self.type != 'enum':
129
value = utils.cast(self.TYPES.get(self.type)['cast'], value)
130
return value
131
0 commit comments