Skip to content

Commit

Permalink
fix moving
Browse files Browse the repository at this point in the history
  • Loading branch information
zain-sohail committed Jun 12, 2024
1 parent 41e1392 commit 4b7f70f
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions docs/move_changed_notebooks.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,11 @@ def main():
cache_dir.mkdir(parents=True, exist_ok=True)

if not cached_checksums_file.exists():
print("No cached checksums found. Copying tutorials.")
print(f"No cached checksums found at {cached_checksums_file}. Copying tutorials.")
for file in tutorial_src_dir.glob("*.ipynb"):
shutil.copy(file, cache_dir)
print("Copying new checksums to docs/tutorial")
print(f"Copying {current_checksums_file} to {cache_dir}")
shutil.copy(current_checksums_file, cache_dir)
return

current_checksums = load_checksums(current_checksums_file)
cached_checksums = load_checksums(cached_checksums_file)
Expand Down

0 comments on commit 4b7f70f

Please sign in to comment.