Skip to content

Comments

fix UnboundLocalError#1802

Closed
meska wants to merge 1 commit intoPokemonGoF:devfrom
meska:patch-1
Closed

fix UnboundLocalError#1802
meska wants to merge 1 commit intoPokemonGoF:devfrom
meska:patch-1

Conversation

@meska
Copy link

@meska meska commented Jul 30, 2016

Short Description:

Fixes:

UnboundLocalError: local variable 'pokemon_data' referenced before assignment

UnboundLocalError: local variable 'pokemon_data' referenced before assignment
@reddivision
Copy link
Contributor

this is already being fixed: #1777

pokemon_data = self._check_inventory(pokemon_ids)
except:
pass # just proceed with what we have
pokemon_data = [] # just proceed with what we have
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this would just break the results printing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants