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

Error in case Detailed Logs are disabled #25

Closed
ElLorans opened this issue Apr 16, 2020 · 1 comment
Closed

Error in case Detailed Logs are disabled #25

ElLorans opened this issue Apr 16, 2020 · 1 comment

Comments

@ElLorans
Copy link

Right now, mtga-utils prints "Error: Could not parse json data: Expecting value: line 1 column 1 (char 0)" if Detailed Logs are disabled. Would it be possible to add something like

if "DETAILED LOGS: DISABLED" in logfile.read():
                print('DETAILED LOGS (PLUGIN SUPPORT) ARE DISABLED.\nPlease Log into Arena and go to "Adjust Options";\nclick on "View Account"; check the “Detailed Logs (Plugin Support)” button and restart the game.')

?

@kelesi
Copy link
Owner

kelesi commented May 11, 2020

Thanks for suggestion. Implemented in v0.3.8.

@kelesi kelesi closed this as completed May 11, 2020
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

No branches or pull requests

2 participants