look elsewhere for template dir

This commit is contained in:
ktyl 2021-09-13 21:42:19 +01:00
parent 705990582e
commit e50671d1cd
1 changed files with 1 additions and 1 deletions

2
ppp.py
View File

@ -13,7 +13,7 @@ if argc < 3:
# figure out src dir from root argument
sep="/"
src_dir = sep.join(sys.argv[1].split(sep)[:-1])
src_dir = sep.join(sys.argv[2].split(sep)[:-1])
# regex patterns
p_var = re.compile(r'(#.+?\.css)')