From 34c77b5216b5cc0ab79f97f00edc946bc47c22a6 Mon Sep 17 00:00:00 2001 From: Brendan Early Date: May 23 2021 23:13:29 +0000 Subject: bugfix --- diff --git a/bin/generate-html.py b/bin/generate-html.py index f0f9af2..374f84a 100755 --- a/bin/generate-html.py +++ b/bin/generate-html.py @@ -328,13 +328,14 @@ def main(): current = files for dir in entry["dirname"].split('/'): if dir != "": - if dir not in current: + if dir not in current or type(current[dir]) == str: current[dir] = {} current = current[dir] if filetype == 'd' and not filename in current: current[filename] = {} elif filetype != 'd': + current[filename] = filetype filetype_index += 1