Skip to content

Commit

Permalink
[dev] small fixes (#2912)
Browse files Browse the repository at this point in the history
* Fixed emit_event typo

* Update CONTRIBUTORS.md

* Changed initialization location for "bot"

We use bot in main exception on 128

* Update pokecli.py
  • Loading branch information
mjmadsen authored and douglascamata committed Aug 7, 2016
1 parent fc4e802 commit e5b7eda
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions CONTRIBUTORS.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,3 +52,4 @@
* Abraxas000
* lucasfevi
* Moonlight-Angel
* mjmadsen
3 changes: 2 additions & 1 deletion pokecli.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,9 @@
logger.setLevel(logging.INFO)

def main():
bot = False

try:
bot = False
logger.info('PokemonGO Bot v1.0')
sys.stdout = codecs.getwriter('utf8')(sys.stdout)
sys.stderr = codecs.getwriter('utf8')(sys.stderr)
Expand Down
2 changes: 1 addition & 1 deletion pokemongo_bot/cell_workers/evolve_pokemon.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def _should_run(self):
if result is 1: # Request success
self.emit_event(
'used_lucky_egg',
formmated='Used lucky egg ({amount_left} left).',
formatted='Used lucky egg ({amount_left} left).',
data={
'amount_left': lucky_egg_count - 1
}
Expand Down

1 comment on commit e5b7eda

@Sayujya
Copy link

@Sayujya Sayujya commented on e5b7eda Aug 8, 2016

Choose a reason for hiding this comment

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

You mean "Minor text fixes"

Please sign in to comment.