Skip to content

Commit 8997c13

Browse files
authored
Update README.md (#202)
1 parent 2fe1be2 commit 8997c13

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ from PIL import Image
208208
for obj in env.objects:
209209
if obj.type.name == "Texture2D":
210210
# export texture
211-
data = image.read()
211+
data = obj.read()
212212
data.image.save(path)
213213
# edit texture
214214
fp = os.path.join(replace_dir, data.name)

0 commit comments

Comments
 (0)