1
0
Fork 0

fix present folders docstring

This commit is contained in:
Nick Sweeting 2019-05-02 15:20:21 -04:00
parent 204de37eb9
commit ecfca13b6d

View file

@ -408,7 +408,7 @@ def get_unarchived_folders(links, out_dir: str=OUTPUT_DIR) -> Dict[str, Optional
} }
def get_present_folders(links, out_dir: str=OUTPUT_DIR) -> Dict[str, Optional[Link]]: def get_present_folders(links, out_dir: str=OUTPUT_DIR) -> Dict[str, Optional[Link]]:
"""dirs that are expected to exist based on the main index""" """dirs that actually exist in the archive/ folder"""
all_folders = {} all_folders = {}
for entry in os.scandir(os.path.join(out_dir, ARCHIVE_DIR_NAME)): for entry in os.scandir(os.path.join(out_dir, ARCHIVE_DIR_NAME)):