bugfix trials

This commit is contained in:
Dooho Yi 2021-09-14 23:30:59 +09:00
parent 05d8508321
commit 23b972a6dd
2 changed files with 8 additions and 4 deletions

View file

@ -23,7 +23,7 @@ MIME_TYPE = magic.Magic(mime=True)
ignore = Ignore() ignore = Ignore()
PATTERN_TAG = re.compile(r"(?P<name>.+?)(?P<hashes>\#.+)*\.(?P<ext>.+)") PATTERN_TAG = re.compile(r"(?P<name>.+?)(?P<hashes>\#.+)*\.(?P<ext>.{1,4}$)")
PATTERN_TAG_FOLDER = re.compile(r"(?P<name>.+?)(?P<hashes>\#.+)\/(?P<file>.+)") PATTERN_TAG_FOLDER = re.compile(r"(?P<name>.+?)(?P<hashes>\#.+)\/(?P<file>.+)")
def caption(image): def caption(image):

View file

@ -1,5 +1,6 @@
.DS_Store .DS_Store
about.html about.html
about_en.html
hello.txt hello.txt
home.html home.html
index.html index.html
@ -13,6 +14,9 @@ style.css
main.js main.js
.+.alt .+.alt
events events
human hash_human
tech hash_tech
environment hash_environment
/여기에_대해_about_here/
/어떤_파일을_넣을까/
/process/