Skip to content

Commit c012a21

Browse files
committed
build: Fix bug in copy assets
1 parent 4281967 commit c012a21

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ def _copyAssets(self):
297297
for i in self.assets:
298298
if os.path.isdir(Path(i)):
299299
shutil.copytree(Path(i), Path(self.internal_dir, Path(i).name))
300-
elif os.path.isdir(Path(i)):
300+
elif os.path.isfile(Path(i)):
301301
copy(i, self.internal_dir)
302302

303303
# Icons

0 commit comments

Comments
 (0)