Skip to content

Commit 6609d20

Browse files
committed
Updating prints
1 parent 63a3c40 commit 6609d20

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

shiny/ui/_include_helpers.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,13 @@ def maybe_copy_files(path: Path | str, include_files: bool) -> tuple[str, str]:
249249
oct(os.stat(os.path.join(dirpath, file)).st_mode),
250250
)
251251
else:
252-
os.mkdir(tmpdir, mode=0o755)
252+
os.makedirs(tmpdir, mode=0o755, exist_ok=True)
253+
print(
254+
"Copying files from: ",
255+
path,
256+
" with perms: ",
257+
oct(os.stat(path).st_mode),
258+
)
253259
shutil.copy(path, path_dest)
254260
os.chmod(path_dest, 0o755)
255261
print("File: ", path_dest, "perms", oct(os.stat(path_dest).st_mode))

0 commit comments

Comments
 (0)