Skip to content

Commit

Permalink
modify lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
caol64 committed Nov 3, 2023
1 parent eb31a46 commit f606755
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions src/browser.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,15 +53,3 @@ def get_icon(self, name):

def destroy(self):
self.ps2mc.destroy()

@staticmethod
def view_tex(texture):
Image.frombytes(
mode="RGB", size=(128, 128), data=texture, decoder_name="raw"
).show()

@staticmethod
def export_tex(texture, dest):
Image.frombytes(
mode="RGB", size=(128, 128), data=texture, decoder_name="raw"
).save(dest)

0 comments on commit f606755

Please sign in to comment.