Replace double quotes with single quotes
This commit is contained in:
parent
0392aa74e2
commit
b17c73bac0
@ -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())
|
||||
|
Loading…
Reference in New Issue
Block a user