fix oversight in sms_functions
This commit is contained in:
parent
000bb0561b
commit
334336f004
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue