fix oversight in sms_functions
This commit is contained in:
parent
000bb0561b
commit
334336f004
@ -46,7 +46,7 @@ def get_modem_pin():
|
|||||||
|
|
||||||
for p in paths:
|
for p in paths:
|
||||||
if os.path.isfile(p):
|
if os.path.isfile(p):
|
||||||
return read_modem_pin(fpath)
|
return read_modem_pin(p)
|
||||||
|
|
||||||
raise Exception('modem_pin.txt not found in any directory')
|
raise Exception('modem_pin.txt not found in any directory')
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user