[minor] [fix] [patch] change item wise tax
diff --git a/patches/may_2013/p08_change_item_wise_tax.py b/patches/may_2013/p08_change_item_wise_tax.py
index fd74dcb..a4f8531 100644
--- a/patches/may_2013/p08_change_item_wise_tax.py
+++ b/patches/may_2013/p08_change_item_wise_tax.py
@@ -16,8 +16,9 @@
except ValueError:
out = {}
for t in item_wise_tax_detail.split("\n"):
- if ":" in t:
- account_head, amount = t.split(":")
+ if " : " in t:
+ split_index = t.rfind(" : ")
+ account_head, amount = t[:split_index], t[split_index+3:]
out[account_head.strip()] = flt(amount.strip())
if out: