Removed the unused logging from the accounting_amount template filter in the accounting application.

This commit is contained in:
依瑪貓 2020-07-20 20:20:05 +08:00
parent f90b764770
commit 6a9eb5ed0e

View File

@ -31,7 +31,6 @@ def accounting_amount(value):
return "" return ""
if value == 0: if value == 0:
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)