abs cleanup
This commit is contained in:
父節點
31c6de1329
當前提交
b0b2f37d8a
共有 1 個文件被更改,包括 3 次插入 和 2 次删除
|
@ -21,10 +21,11 @@ def main(name: str, debug: bool):
|
|||
"""
|
||||
|
||||
# Common variables
|
||||
repo_root = Path(__file__).parent
|
||||
extended_globals = {
|
||||
"name": name,
|
||||
"caseconverter": caseconverter,
|
||||
"repo_root": Path(__file__).parent,
|
||||
"repo_root": repo_root,
|
||||
}
|
||||
|
||||
# Load templates
|
||||
|
@ -52,7 +53,7 @@ def main(name: str, debug: bool):
|
|||
|
||||
# Remove this script
|
||||
if not debug:
|
||||
Path("configure.py").unlink()
|
||||
(repo_root / "configure.py").unlink()
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
|
載入中…
Reference in a new issue