diff --git a/README.md b/README.md index 8a877f2..45c192d 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,5 @@ # omnia_atari -This utility will download Atari 8 bit computer binaries from various iinternet sources into the local directory, suitable for serving by +This utility will download Atari 8 bit computer binaries from various internet sources into the local directory, suitable for serving by [Fujinet](https://fujinet.online/)'s tnfs or similar. + +Currently uses The Internet Archive as its back-end but this could be extended to any site with the appropriate API/scraping code. diff --git a/omnia_atari.py b/omnia_atari.py index 16cf49b..c9038b7 100755 --- a/omnia_atari.py +++ b/omnia_atari.py @@ -67,5 +67,6 @@ def get_item_files(item: Item) -> list: for atari_file in atari_files: collection_item_path: pathlib.Path = collection_folder_path / atari_file item_file_path: pathlib.Path = current_item_path / atari_file - print(f"Creating symlink from {item_file_path} to {collection_folder_path}") - collection_item_path.symlink_to(item_file_path) + print(f"Creating symlink from {item_file_path} to {collection_item_path}") + if not collection_item_path.is_symlink(): + collection_item_path.symlink_to(item_file_path)