- Fix syntax error in install script, fixed bug in xactive where keyswap may not be trigger if process id was not exactly 7 integers long, it now accepts integers of any length.

This commit is contained in:
Ben Reaves
2019-07-30 13:49:44 -05:00
parent e72ced64ef
commit 2385d4e635
2 changed files with 4 additions and 2 deletions

View File

@@ -76,7 +76,7 @@ def keyboard_detect():
print("systemctl --user disable keyswap")
print("rm -rf ~/.config/autostart/keyswap.sh")
print("rm -rf ~/.config/xactive.sh")
keyswapcmd = '/bin/bash -c "./keyswap_service.sh 1 0 ' + system_type + ' ' + str(internalid).strip() + ' ' + str(usbid) + ' ' + chromeswap '"'
keyswapcmd = '/bin/bash -c "./keyswap_service.sh 1 0 ' + system_type + ' ' + str(internalid).strip() + ' ' + str(usbid).strip() + ' ' + str(chromeswap) + '"'
print(keyswapcmd)
subprocess.check_output(keyswapcmd, shell=True).decode('utf-8')
else: