From 334336f004260d1931947ed07640832399dbab6f Mon Sep 17 00:00:00 2001 From: Pavel Valach Date: Fri, 15 Oct 2021 09:40:40 +0200 Subject: [PATCH] fix oversight in sms_functions --- sms_functions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sms_functions.py b/sms_functions.py index 4c4502f..7582f4e 100644 --- a/sms_functions.py +++ b/sms_functions.py @@ -46,7 +46,7 @@ def get_modem_pin(): for p in paths: 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')