__version__ = '1.0.7'

This commit is contained in:
Sergey
2024-12-02 15:08:26 +03:00
parent 8568d38303
commit ce321a0f11
2 changed files with 3 additions and 3 deletions

4
app.py
View File

@@ -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}')

View File

@@ -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',
}