mirror of
https://github.com/pyTooling/Actions.git
synced 2026-02-12 11:06:56 +08:00
Tip: use 'files.append()' instead of 'files +='
This commit is contained in:
@@ -35,7 +35,7 @@ else:
|
||||
print(f" - ! Skipping empty file {fname!s}")
|
||||
continue
|
||||
print(f" - {fname!s}")
|
||||
files += [fname]
|
||||
files.append(fname)
|
||||
|
||||
if len(files) < 1:
|
||||
stdout.flush()
|
||||
|
||||
Reference in New Issue
Block a user