Removed the debug logging in the accounting_amount filter.

This commit is contained in:
依瑪貓 2020-07-14 10:52:49 +08:00
parent cafbeffa28
commit c42120d1a7

View File

@ -29,7 +29,6 @@ register = template.Library()
def accounting_amount(value): def accounting_amount(value):
if value is None: if value is None:
return "" return ""
print(value)
s = str(abs(value)) s = str(abs(value))
while True: while True:
m = re.match("^([1-9][0-9]*)([0-9]{3})", s) m = re.match("^([1-9][0-9]*)([0-9]{3})", s)