Before this line of code: `total_size += os.path.getsize(fp)` you should add the following check: `if not os.path.islink(fp):`