pySim-prog: rename write_parameters function.

The function name "write_parameters" is very generic and since it is
called during the programming cycle it should be made clear that it is
not about writing parameters to the card.

Change-Id: Idaba672987230d7d0dd500409f9fe0b94ba39370
This commit is contained in:
Philipp Maier 2022-12-16 17:03:01 +01:00
parent cbb8c02d25
commit 5f0cb3c5f2
1 changed files with 3 additions and 3 deletions

View File

@ -669,7 +669,7 @@ def write_params_hlr(opts, params):
conn.close()
def write_parameters(opts, params):
def write_parameters_to_csv_and_hlr(opts, params):
write_params_csv(opts, params)
write_params_hlr(opts, params)
@ -764,8 +764,8 @@ def process_card(opts, first, ch):
else:
print("Dry Run: NOT PROGRAMMING!")
# Write parameters permanently
write_parameters(opts, cp)
# Write parameters to a specified CSV file or an HLR database (not the card)
write_parameters_to_csv_and_hlr(opts, cp)
# Batch mode state update and save
if opts.num is not None: