integrated UIHParser
This commit is contained in:
@@ -79,7 +79,10 @@ class Scheduler:
|
||||
# Get list of files already processed for this specific bank
|
||||
bank_processed = repository.get_processed_files(bank_code)
|
||||
remote_path = f"{self.config.sftp_base_path}/{bank_code}/NACH"
|
||||
files = sftp_client.list_files(remote_path, pattern=f'ACH_99944_{today_str}*.txt')
|
||||
ach_files = sftp_client.list_files(remote_path, pattern=f'ACH_99944_{today_str}*.txt')
|
||||
uih_files = sftp_client.list_files(remote_path, pattern=f'UIH_99944_{today_str}*.txt')
|
||||
|
||||
files= ach_files + uih_files
|
||||
|
||||
for filename in files:
|
||||
if filename not in bank_processed:
|
||||
|
||||
Reference in New Issue
Block a user