Skip to content

Commit

Permalink
fixup: XCI class declaration doesn't need to know file open mode?
Browse files Browse the repository at this point in the history
  • Loading branch information
themoonisacheese authored Oct 20, 2023
1 parent 9cfa0fc commit 5a93c6b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions verif.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,9 @@ def verify(file):
feed=''
buffer = 65536
if filename.lower().endswith('.nsp') or filename.lower().endswith('.nsz'):
f = Fs.Nsp(filename, 'rb')
f = Fs.Nsp(filename)
elif filename.lower().endswith('.xcz') or filename.lower().endswith('.xci'):
f = Fs.Xci(filename, 'rb')
f = Fs.Xci(filename)
else:
raise Exception("{1} does not have the appropriate extension".format(filename))

Expand Down

0 comments on commit 5a93c6b

Please sign in to comment.