Complete previous commit

This commit is contained in:
Benjamin Loison 2024-10-16 20:09:22 +02:00
parent 4969025722
commit 307a4b0330
Signed by: Benjamin_Loison
SSH Key Fingerprint: SHA256:BtnEgYTlHdOg1u+RmYcDE0mnfz1rhv5dSbQ2gyxW8B8

View File

@ -64,7 +64,7 @@ def isTransactionFromOwnAccounts(comment):
# print(comment)
return comment.startswith('DEPOT INITIAL DU COMPTE\n') or \
comment.startswith('VIR CPTE A CPTE EMIS /MOTIF ') or \
VIRT_A_CPTE_EMIS_SUR_LE_REGEX.match(comment)#comment.startswith('VIRT CPTE A CPTE EMIS SUR LE')
VIRT_A_CPTE_EMIS_SUR_LE_REGEX.fullmatch(comment)#comment.startswith('VIRT CPTE A CPTE EMIS SUR LE')
#comment.startswith('VIR CPTE A CPTE RECU /DE ') or \
# and comment.endswith('/REFDO /REFBEN')
@ -103,4 +103,4 @@ plt.xticks(xTicks, ticksLabels, rotation = 90)
# How to show the horizontal lines for subticks?
plt.grid(axis = 'y')
plt.show()
plt.show()