Skip to content

Commit 761f7f4

Browse files
committed
dupe finder script: add .nes extension while looking for ROMs
1 parent 1208c5c commit 761f7f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/dupe_finder.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ def get_file_hash(filename, alg, chunksize=131072):
3131
def look_for_rom(files):
3232
for f in range(0, len(files)):
3333
ext = files[f]["filename"].split(".")[-1]
34-
if ext.lower() in ["gb", "gbc", "cgb", "gba", "agb", "sgb"]:
34+
if ext.lower() in ["gb", "gbc", "cgb", "gba", "agb", "sgb", "nes"]:
3535
return files[f]["filename"]
3636

3737
return -1

0 commit comments

Comments
 (0)