The Wayback Machine - https://web.archive.org/web/20201214115523/https://github.com/uber-common/metta/pull/23
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

Updated the run_simulation_yaml.py file #23

Open
wants to merge 2 commits into
base: master
from

Conversation

@ballaswetha
Copy link

@ballaswetha ballaswetha commented Apr 1, 2019

When the Slack alerting was enabled, the following error message was displayed - local variable 'json' referenced before assignment

The issue appears to be using the word "json" as a variable and also module. I replaced "json" with "json_data" and that fixed the issue. The code is still commented out, in case folks don't want to use Slack alerting.

ballaswetha added 2 commits Apr 1, 2019
The slack alerting code was not working as there was a confusion between the variable named json and module named json. I replaced the variable with json_data which fixed the issue. The code is still commented out.
Update run_simulation_yaml.py
@CLAassistant
Copy link

@CLAassistant CLAassistant commented Apr 1, 2019

CLA assistant check
All committers have signed the CLA.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
2 participants
You can’t perform that action at this time.