Skip to content

Commit

Permalink
Update main.py
Browse files Browse the repository at this point in the history
Bug fix
  • Loading branch information
gmh4589 authored Jan 20, 2025
1 parent ce59d70 commit 1452a3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,7 @@ def colorWrapper(self, image_data):
self.dds_save(width, height,readCodec.replace('_S', '_U'), image_data)

self.ext = 'png'
Popen('"data/texconv -ft PNG" {self.temp_path}\\temp.dds', SW_HIDE).wait()
Popen('data/texconv -ft PNG {self.temp_path}\\temp.dds', SW_HIDE).wait()
shutil.move('temp.PNG', f'{self.temp_path}\\temp.{self.ext}')

image_data = Image.open(f'{self.temp_path}\\temp.{self.ext}')
Expand Down

0 comments on commit 1452a3c

Please sign in to comment.