aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhilipp Maier <pmaier@sysmocom.de>2019-09-12 13:40:02 +0200
committerPhilipp Maier <pmaier@sysmocom.de>2019-09-13 10:16:32 +0200
commit1de89bf889bd9060f39efb41a14059dc87577e9f (patch)
treed2df28b0af29c8e7aecc9d9288cd1e3991d180c4
parentc5b422e2ca59869ab130225dd7f48596805dc143 (diff)
pySim-prog.py: use more expressive error message on CSV read failure
When the CSV file fails to read the error message is just "Error reading parameters". Lets make clear that this error is related to a problem with the CSV file Change-Id: If285c1fbf7d285f512b573040f1b8983e4e3087e
-rwxr-xr-xpySim-prog.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pySim-prog.py b/pySim-prog.py
index 55634a5..2387986 100755
--- a/pySim-prog.py
+++ b/pySim-prog.py
@@ -660,7 +660,7 @@ def process_card(opts, first, card_handler):
imsi = opts.imsi
cp = read_params_csv(opts, imsi=imsi, iccid=iccid)
if cp is None:
- print "Error reading parameters\n"
+ print "Error reading parameters from CSV file!\n"
return 2
print_parameters(cp)