mirror of
https://github.com/TeamPGM/pyrogram.git
synced 2024-11-28 00:56:19 +00:00
Small fix
This commit is contained in:
parent
9a60a51a00
commit
653f476bf5
@ -22,7 +22,7 @@ import shutil
|
||||
|
||||
HOME = "compiler/api"
|
||||
DESTINATION = "pyrogram/api"
|
||||
notice_path = "NOTICE"
|
||||
NOTICE_PATH = "NOTICE"
|
||||
SECTION_RE = re.compile(r"---(\w+)---")
|
||||
LAYER_RE = re.compile(r"//\sLAYER\s(\d+)")
|
||||
COMBINATOR_RE = re.compile(r"^([\w.]+)#([0-9a-f]+)\s(?:.*)=\s([\w<>.]+);$", re.MULTILINE)
|
||||
@ -133,7 +133,7 @@ def start():
|
||||
with open("{}/template/class.txt".format(HOME)) as f:
|
||||
template = f.read()
|
||||
|
||||
with open(notice_path) as f:
|
||||
with open(NOTICE_PATH) as f:
|
||||
notice = []
|
||||
|
||||
for line in f.readlines():
|
||||
@ -412,5 +412,5 @@ def start():
|
||||
if "__main__" == __name__:
|
||||
HOME = "."
|
||||
DESTINATION = "../../pyrogram/api"
|
||||
notice_path = "../../NOTICE"
|
||||
NOTICE_PATH = "../../NOTICE"
|
||||
start()
|
||||
|
Loading…
Reference in New Issue
Block a user