From 68e4ffb78704c61dd1f6343543e60891b67367bf Mon Sep 17 00:00:00 2001 From: Puyodead1 Date: Sun, 15 Oct 2023 19:20:54 -0400 Subject: [PATCH] bug fix --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index 3529630..cafa291 100644 --- a/main.py +++ b/main.py @@ -971,7 +971,7 @@ class Udemy: supp_assets = lecture_data.get("supplementary_assets") if isinstance(asset, dict): - asset_type = asset.get("asset_type").lower() or asset.get("assetType").lower + asset_type = asset.get("asset_type").lower() or asset.get("assetType").lower() if asset_type == "article": if isinstance(supp_assets, list) and len(supp_assets) > 0: retVal = self._extract_supplementary_assets(supp_assets, index)