Fix typo in termux detection code
This commit is contained in:
parent
0cbb02f84c
commit
2ceca374e6
2
eufy.py
2
eufy.py
|
@ -22,7 +22,7 @@ def ir_termux(pulses):
|
||||||
default_driver = ir_debug
|
default_driver = ir_debug
|
||||||
|
|
||||||
if 'ANDROID_ROOT' in os.environ:
|
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
|
default_driver = ir_termux
|
||||||
else:
|
else:
|
||||||
try:
|
try:
|
||||||
|
|
Loading…
Reference in New Issue