mirror of
https://git.auk.su/Dinect/bonus-import-tools.git
synced 2025-12-28 18:10:01 +00:00
__version__ = '1.0.7'
This commit is contained in:
4
app.py
4
app.py
@@ -229,10 +229,10 @@ def run_import():
|
||||
)
|
||||
|
||||
if not result:
|
||||
print(f'error in line: [{line_count}]- bonuses_update: {data}')
|
||||
print(f'ERROR in line: [{line_count}]- bonuses_update: {data}')
|
||||
log_file.write(f'error in line: [{line_count}]- bonuses_update: {data}\n')
|
||||
else:
|
||||
print(f'Bonuses updated, user_id={din_id}')
|
||||
print(f'RESULT=OK, Bonuses updated, user_id={din_id}')
|
||||
|
||||
else:
|
||||
print(f'error in line: [{line_count}]- Invalid user: {user_id}')
|
||||
|
||||
@@ -196,7 +196,7 @@ def bonuses_update(
|
||||
"sum_discount": sum_discount,
|
||||
"sum_with_discount ": sum_with_discount,
|
||||
"commit": 'True',
|
||||
"curr_iso_name": 'RUB',
|
||||
"curr_iso_name": currency,
|
||||
"override": 'True'
|
||||
# "date": '2024-08-03 12:53:07',
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user