Commit 8ad69fb6 by sikang

update

parent f6f815e3
...@@ -89,7 +89,7 @@ class Function: ...@@ -89,7 +89,7 @@ class Function:
def update_properties(self,config, dict): def update_properties(self,config, dict):
file_content = "" file_content = ""
replace_line = {} replace_line = {}
with open(config['properties'], "r", encoding="utf-8") as f: with open("%s/gradle.properties"%config['root'], "r", encoding="utf-8") as f:
file_content = f.read() file_content = f.read()
for key in dict.keys(): for key in dict.keys():
info = re.compile(r''+key+"=(.*)\n") info = re.compile(r''+key+"=(.*)\n")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment