Skip to content

Commit

Permalink
Merge pull request themoonisacheese#7 from seiya-git/main
Browse files Browse the repository at this point in the history
revert using Path in Fs.factory
themoonisacheese authored Oct 22, 2023
2 parents e708dbe + 32a5f37 commit 866d284
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions verif.py
Original file line number Diff line number Diff line change
@@ -17,8 +17,7 @@
sys.path.insert(0, 'private')
except:pass
import Config
import Status
from pathlib import Path
import Status

# # SET ENVIRONMENT
# squirrel_dir=os.path.abspath(os.curdir)
@@ -46,7 +45,7 @@ def verify(file):
if filename.lower().endswith(('.nsp','.nsz')):
f = Fs.Nsp(filename)
elif filename.lower().endswith('.xci'):
f = Fs.factory(Path(filename))
f = Fs.factory(filename)
f.open(filename, 'rb')
elif filename.lower().endswith('.xcz'):
f = Fs.Xci(filename)

0 comments on commit 866d284

Please sign in to comment.