Skip to content

Commit 507f490

Browse files
committed
rename unused variable
1 parent 6c2e504 commit 507f490

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

cs2tracker/scraper.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -174,10 +174,7 @@ def _scrape_prices_capsules(self):
174174
capsule_usd_total = 0
175175
for capsule_section, capsule_info in CAPSULE_INFO.items():
176176
# only scrape capsule sections where the user owns at least one item
177-
if any(
178-
int(owned) > 0
179-
for capsule_name, owned in self.config.items(capsule_section)
180-
):
177+
if any(int(owned) > 0 for _, owned in self.config.items(capsule_section)):
181178
capsule_usd_total += self._scrape_prices_capsule(
182179
capsule_section, capsule_info
183180
)

0 commit comments

Comments
 (0)