Fix typo in termux detection code

This commit is contained in:
Maurizio Porrato 2019-02-12 07:08:00 +00:00
parent 0cbb02f84c
commit 2ceca374e6
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ def ir_termux(pulses):
default_driver = ir_debug
if 'ANDROID_ROOT' in os.environ:
if 'com.termux' in os.get('SHELL', ''):
if 'com.termux' in os.environ.get('SHELL', ''):
default_driver = ir_termux
else:
try: