Commit bb0c9d25 authored by Łukasz Nowak's avatar Łukasz Nowak

Compare with correct transaction.

parent 8b7049a1
......@@ -68,7 +68,7 @@ if previous_transaction is None:\n
\n
previous_id = None\n
possible_previous_id = integration_site.getMappingFromCategory(\'causality/%s\' % previous_transaction.getRelativeUrl())\n
if possible_previous_id != \'Causality/%s\' % transaction.getRelativeUrl():\n
if possible_previous_id != \'Causality/%s\' % previous_transaction.getRelativeUrl():\n
previous_id = possible_previous_id.split(\'/\')[1]\n
\n
return previous_id\n
......
70
\ No newline at end of file
71
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment