Resolves #85 by bundling string polyfill directly, simplifying deploys

This commit is contained in:
Josh Klar committed 2018-11-05 22:05:07 -08:00
1 parent c6922dbfe0
commit b37f3ecdd9
8 files changed
+65 -27

No files matched your search

+2 -3
View File
@@ -1,6 +1,5 @@
import string
from kmk.keycodes import Keycodes, Macro, char_lookup, lookup_kc_with_cache
from kmk.string import ascii_letters, digits
def simple_key_sequence(seq):
@@ -18,7 +17,7 @@ def send_string(message):
if char in char_lookup:
kc = char_lookup[char]
elif char in string.ascii_letters + string.digits:
elif char in ascii_letters + digits:
kc = lookup_kc_with_cache(char)
if char.isupper():