diff --git a/docker/unsloth_nb_view.py b/docker/unsloth_nb_view.py index 6eb5655d5f..9c74081999 100644 --- a/docker/unsloth_nb_view.py +++ b/docker/unsloth_nb_view.py @@ -156,12 +156,11 @@ def build_view( rel = os.path.relpath(target, folder) # ../../unsloth-notebooks/nb/ try: if os.path.islink(link): - os.remove(link) # replace our own stale symlink + os.remove(link) # replace our own stale symlink elif os.path.exists(link): # a real user file/dir already occupies this name -- never # clobber it; leave it and skip linking this notebook. - print(f"[unsloth-nb] view: keep user file, skip link {fname}", - file = sys.stderr) + print(f"[unsloth-nb] view: keep user file, skip link {fname}", file = sys.stderr) continue os.symlink(rel, link) n_links += 1