From de92694aeaf8ffb0e68ad4f5041de61ebdcaebef Mon Sep 17 00:00:00 2001 From: Dooho Yi Date: Fri, 8 Jan 2021 02:37:16 +0900 Subject: [PATCH] render fix. --- distribusi/distribusi.py | 4 ++-- sample/notes/20210107T184852+0900_또다른 경우/4.md | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) create mode 100644 sample/notes/20210107T184852+0900_또다른 경우/4.md diff --git a/distribusi/distribusi.py b/distribusi/distribusi.py index e961189..7f2b18e 100644 --- a/distribusi/distribusi.py +++ b/distribusi/distribusi.py @@ -149,7 +149,7 @@ def render_dir(args, root): a = "
" + open(full_path).read() + "
" else: subtype = subtype + ' unkown-file' - a = "{}" + a = "{}".format(relative_path, caption) # a = FILE_TYPES[type_] if type_ == 'image': @@ -166,7 +166,7 @@ def render_dir(args, root): if type_ not in FILE_TYPES and subtype not in SUB_TYPES: # catch exceptions not yet defined in FILE_TYPES or SUB_TYPES - a = "{}" + a = "{}".format(relative_path, caption) if args.verbose: message = 'not in list of file types, adding as plain href: \n' print(type_, subtype, message, name) diff --git a/sample/notes/20210107T184852+0900_또다른 경우/4.md b/sample/notes/20210107T184852+0900_또다른 경우/4.md new file mode 100644 index 0000000..4cc0852 --- /dev/null +++ b/sample/notes/20210107T184852+0900_또다른 경우/4.md @@ -0,0 +1 @@ +mdmd