Removed an unnecessary check in code which always evaluates to true (#33710)

fix: removed an unnecessary check which always evaluates to true
This commit is contained in:
mergify[bot]
2023-01-21 12:03:33 +05:30
committed by GitHub
parent 7243f71d7d
commit 4511d41329

View File

@@ -378,7 +378,6 @@ class Deferred_Revenue_and_Expense_Report(object):
ret += [{}]
# add total row
if ret is not []:
if self.filters.type == "Revenue":
total_row = frappe._dict({"name": "Total Deferred Income"})
elif self.filters.type == "Expense":