Skip to content

Commit

Permalink
chore: resolved linter check with #nosemgrep
Browse files Browse the repository at this point in the history
  • Loading branch information
khushi8112 committed Sep 13, 2024
1 parent a7a0499 commit 8c8e252
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,7 @@ def get_assets_for_grouped_by_category(filters):
finance_book_filter += " and ifnull(gle.finance_book, '')=%(finance_book)s"
condition += " and exists (select 1 from `tabAsset Depreciation Schedule` ads where ads.asset = a.name and ads.finance_book = %(finance_book)s)"

# nosemgrep
return frappe.db.sql(
f"""
SELECT results.asset_category,
Expand Down Expand Up @@ -306,6 +307,7 @@ def get_assets_for_grouped_by_category(filters):
)


# nosemgrep
def get_assets_for_grouped_by_asset(filters):
condition = ""
if filters.get("asset"):
Expand Down

0 comments on commit 8c8e252

Please sign in to comment.