Skip to content

Commit

Permalink
couple of fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Simarilius-uk authored Jan 13, 2024
1 parent 043639d commit 949467d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions i_scene_cp77_gltf/resources/scripts/export_deletions.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,11 +102,11 @@ def to_archive_xl(filename):
# set instance variables

sectors.append(new_sector)
with open(filename, "w") as file:
with open(filename, "w") as filestream:
if yamlavail:
yaml.dump(xlfile, file, indent=4, sort_keys=False)
yaml.dump(xlfile, filestream, indent=4, sort_keys=False)
else:
json.dumps(xlfile, file, indent=4)
json.dump(xlfile, filestream, indent=4)

# Iterate over matching collections and find empty ones
for sectorCollection in [c for c in bpy.data.collections if c.name.endswith("streamingsector")]:
Expand Down

0 comments on commit 949467d

Please sign in to comment.