Skip to content

Commit 1bc03af

Browse files
committed
اصلاح خلل إزاحة توقيت العمليات في نفس الوقت داخل دالة استيراد البيانات
1 parent 998c775 commit 1bc03af

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

zakat/zakat_tracker.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3870,7 +3870,10 @@ def process(x: CSVRecord):
38703870
# If records are found at the same time with different accounts in the same amount
38713871
# (one positive and the other negative), this indicates it is a transfer.
38723872
if len_rows > 2 or len_rows == 1:
3873+
i = 0
38733874
for row in rows:
3875+
row.date += i
3876+
i += 1
38743877
hashed = process(row)
38753878
assert hashed not in cache
38763879
cache.append(hashed)

0 commit comments

Comments
 (0)