__version__ = '1.0.7'

This commit is contained in:
Sergey
2025-01-21 09:09:26 +03:00
parent 4612aceca5
commit 8b2ae68717

11
app.py
View File

@@ -50,15 +50,12 @@ def validate_phone(raw_phone):
def run_import():
"""
Imports users and transactions data from CSV files, validates the data,
creates new users if necessary, and updates user bonuses.
Runs the import process of given CSV files.
Parameters:
None
Returns:
None
This function is responsible for running the import process of given CSV files located in the 'csv' directory.
It will import all CSV files it finds in the directory and its subdirectories.
"""
files = []
# r=root, d=directories, f = files
for r, d, f in os.walk(csv_path):