PokemonGo-Bot icon indicating copy to clipboard operation
PokemonGo-Bot copied to clipboard

[dev] unnecessary log output every tick

Open 1cu opened this issue 10 years ago • 5 comments

Expected Behavior

No clutter in the log output

Actual Behavior

Blank log line every tick

Steps to Reproduce

Start bot, wait till it starts walking.

Other Information

OS: Debian 7.11 Git Commit: (run 'git log -n 1 --pretty=format:"%H"' and paste it here) e936135da0d98e7d9d27a8d98c0c2f3571d27b1f

Change pokemongo_bot/init.py def tick(self): logger.log('') self.cell = self.get_meta_cell() changed to def tick(self): self.cell = self.get_meta_cell()

This line has been introduced with PR #1627

1cu avatar Jul 29 '16 14:07 1cu

+1 not working

djdiart avatar Jul 29 '16 14:07 djdiart

@1cu this log was added to separate each tick's logs and will stay there.

douglascamata avatar Jul 29 '16 15:07 douglascamata

Shouldn't it then be a debug or test option?

1cu avatar Jul 29 '16 16:07 1cu

agreed, @douglascamata that should be a debug option feature

xorinzor avatar Jul 29 '16 16:07 xorinzor

This is changed in the latest dev. Those of us that like the change will have to hope it remains. /crossfingers

leadboots5 avatar Jul 29 '16 18:07 leadboots5