look elsewhere for template dir
This commit is contained in:
parent
705990582e
commit
e50671d1cd
2
ppp.py
2
ppp.py
|
@ -13,7 +13,7 @@ if argc < 3:
|
||||||
|
|
||||||
# figure out src dir from root argument
|
# figure out src dir from root argument
|
||||||
sep="/"
|
sep="/"
|
||||||
src_dir = sep.join(sys.argv[1].split(sep)[:-1])
|
src_dir = sep.join(sys.argv[2].split(sep)[:-1])
|
||||||
|
|
||||||
# regex patterns
|
# regex patterns
|
||||||
p_var = re.compile(r'(#.+?\.css)')
|
p_var = re.compile(r'(#.+?\.css)')
|
||||||
|
|
Loading…
Reference in New Issue