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

Fix json when calling the stats command #5

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Fix json when calling the stats command #5

wants to merge 1 commit into from

Conversation

anselal
Copy link

@anselal anselal commented Sep 12, 2017

Due to a missing comma in the stats command output, the output cannot be parsed as a json.
This is simply fixed by replacing '}{' with '},{'

This fixes #4

Due to a missing comma in the stats command output, the output cannot be parsed as a json.
This is simply fixed by replacing '}{' with '},{'
@johndpope
Copy link

@tsileo - please merge

@anselal
Copy link
Author

anselal commented Aug 21, 2018

@johndpope Just grab a copy of this https://github.com/anselal/antminer-monitor/blob/master/lib/pycgminer.py
I added support for both Python 2 & 3 too.

Also check out the project if you are into mining crypto !!!

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

Successfully merging this pull request may close these issues.

Exception thrown when calling .stats()
2 participants