Skip to content

Conversation

@Vaspra
Copy link
Contributor

@Vaspra Vaspra commented Oct 1, 2019

See #2627
This is a bit cleaner!

Causes a continue in curriculum generation when the source file is not an expected JSON file.

@DanAmador
Copy link
Contributor

Is this the reason that caused this ?

@Vaspra
Copy link
Contributor Author

Vaspra commented Oct 1, 2019

@DanAmador Yes it is, I had not seen this issue. I was wracking my head with it last week but realised it was simply trying to json.load the Unity .meta files.

With this modification mine works fine where it previously did not.


try:
for curriculum_filename in os.listdir(curriculum_folder):

Copy link
Contributor

Choose a reason for hiding this comment

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

I think black (the style checker) is complaining about whitespace on this line.

Copy link
Contributor

@chriselion chriselion left a comment

Choose a reason for hiding this comment

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

Looks good! Thanks for making this change.

@chriselion chriselion merged commit cb1065d into Unity-Technologies:develop Oct 1, 2019
@chriselion
Copy link
Contributor

As a side note, #2601 hopefully made these issues easier to debug.

@Vaspra Vaspra deleted the develop branch October 1, 2019 21:02
@Vaspra Vaspra restored the develop branch October 1, 2019 21:02
@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 17, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants