- Corrected parsing error that would have prevented non-swapping keymap from working

This commit is contained in:
Ben Reaves
2019-08-13 11:59:19 -05:00
parent a11938e542
commit 3314a0c8bd

View File

@@ -91,7 +91,7 @@ def keyboard_detect():
else: else:
print("Setting up " + system_type + " keyswap inside your profiles ~/.Xsession file.") print("Setting up " + system_type + " keyswap inside your profiles ~/.Xsession file.")
print("You can modify or remove the file if you want you want to remove the modification.") print("You can modify or remove the file if you want you want to remove the modification.")
keyswapcmd = '/bin/bash -c "./keyswap_service.sh 0 ' + cmdgui + '"' keyswapcmd = '/bin/bash -c \'./keyswap_service.sh 0 ' + cmdgui + '\''
subprocess.check_output(keyswapcmd, shell=True).decode('utf-8') subprocess.check_output(keyswapcmd, shell=True).decode('utf-8')
if system_type == "mac": if system_type == "mac":