diff --git a/src/__pycache__/notesync.cpython-310.pyc b/src/__pycache__/notesync.cpython-310.pyc new file mode 100644 index 0000000..c043614 Binary files /dev/null and b/src/__pycache__/notesync.cpython-310.pyc differ diff --git a/src/notesync.py b/src/notesync.py index d16118b..0a9a9b5 100644 --- a/src/notesync.py +++ b/src/notesync.py @@ -20,6 +20,10 @@ def main(input_dir: str, output_dir, ignore=None, dry_run=False): for file in files: + if os.path.isdir(file): + print(f"Skipping {file}... is a directory") + continue + if ignore is not None: skip_file = False @@ -55,4 +59,4 @@ def main(input_dir: str, output_dir, ignore=None, dry_run=False): if __name__ == "__main__": - main() \ No newline at end of file + main()