Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to process after recent DIM/Bungie update #2

Open
WindedHero opened this issue Jun 18, 2019 · 1 comment
Open

Unable to process after recent DIM/Bungie update #2

WindedHero opened this issue Jun 18, 2019 · 1 comment

Comments

@WindedHero
Copy link

WindedHero commented Jun 18, 2019

Destiny2Armor.py

Enhanced Bow Targeting
Traceback (most recent call last):
  File "Destiny2Armor.py", line 152, in <module>
    if arm.total_rec_perks > topArmor[key][0].total_rec_perks:
KeyError: 'gambitprime-Helmet'

Changelog for DIM states:

5.33.0(6/15/2019)
CSV exports now include item sources. These match the DIM filter you can use to find the item.
@WindedHero
Copy link
Author

WindedHero commented Jun 19, 2019

The issue lies in line 101~117. Variable names are hard-coded to specific columns in the array, versus assigning variable names based on the header row of the CSV being processed.
A shift of +1 to each row[x] after line 109 should correct the issue for now, but should expect to break if DIM developers add another data column within the existing data array instead of appending it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant