Replace double quotes with single quotes

This commit is contained in:
James Fitzgerald 2022-06-30 16:57:43 -04:00 committed by xs5871
parent 0392aa74e2
commit b17c73bac0

View File

@ -68,14 +68,14 @@ class TextReplacement(Module):
to_substitute = []
substitution = []
for char in entry:
if char == "_":
if char == '_':
key_code = KC.LSHIFT(KC.MINUS)
else:
key_code = getattr(KC, char.upper())
shifted = char.isupper() or key_code.has_modifiers == {2}
to_substitute.append(Character(key_code, shifted))
for char in dictionary[entry]:
if char == "_":
if char == '_':
key_code = KC.LSHIFT(KC.MINUS)
else:
key_code = getattr(KC, char.upper())