jgayfer / pydest

Pydest is an asynchronous Destiny 2 API wrapper written in Python
MIT License
72 stars 22 forks source link

activity_manifest.py example no longer works #2

Closed vpzed closed 7 years ago

vpzed commented 7 years ago

The excellent addition of the _twos_comp_32 function broke the activity_manifest.py example since it contains the id column values instead of the hash property values from inside the json column. The example should be updated with the hash values as shown below:

activity1 = await destiny.decode_hash(2266954523, 'DestinyActivityDefinition')
activity2 = await destiny.decode_hash(2287222467, 'DestinyActivityDefinition')
jgayfer commented 7 years ago

Good catch. I'll update them!

jgayfer commented 7 years ago

Fixed by a5fece33fa18799bbf75ab877dc8c50f0d65531a