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