Skip to content

Commit

Permalink
fix: remove string parse (#225)
Browse files Browse the repository at this point in the history
  • Loading branch information
jlsneto authored Oct 25, 2024
1 parent 5cbc41f commit 9061d22
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion cereja/system/_win32.py
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,6 @@ def _parse_key(cls, v):
if not isinstance(v, (str, int)):
raise ValueError
if isinstance(v, str):
v = string_to_literal(v)
if isinstance(v, str):
return [cls.__KEY_NAME_TO_CODE[i] for i in v.split("+")]
except (ValueError, Exception):
Expand Down

0 comments on commit 9061d22

Please sign in to comment.