mirror of
https://gitea.osmocom.org/sim-card/pysim.git
synced 2026-03-16 18:38:32 +03:00
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
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user