Skip to content

Commit 669f7b5

Browse files
authored
Fix list concatenation
1 parent d4aafe9 commit 669f7b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rhdndat/__main__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -355,7 +355,7 @@ def renamer(romdir: Path = typer.Argument(..., exists=True, file_okay=False, dir
355355
if xmlpath.is_file():
356356
xmls = [xmlpath]
357357
elif xmlpath.is_dir():
358-
xmls = list(xmlpath.glob('**/*.dat') + xmlpath.glob('**/*.xml'))
358+
xmls = list(xmlpath.glob('**/*.dat')) + list(xmlpath.glob('**/*.xml'))
359359
if not xmls:
360360
error('Can\'t find xml dats in second argument')
361361
raise typer.Abort()

0 commit comments

Comments
 (0)