| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 76aad2f commit ee87010
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -48,8 +48,8 @@ class AutocompleteModes(Enum): | |||
| 48 | 48 | ||
| 49 | 49 | @classmethod | |
| 50 | 50 | def from_string(cls, value): | |
| 51 | - if value in cls.__members__: | ||
| 52 | - return cls.__members__[value] | ||
| 51 | + if value.upper() in cls.__members__: | ||
| 52 | + return cls.__members__[value.upper()] | ||
| 53 | 53 | return None | |
| 54 | 54 | ||
| 55 | 55 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments